# getAdvisory

**Identifier:** `depsdev_getAdvisory`

**Provider:** [deps.dev](https://kirha.com/providers/depsdev.md)

Get details about a security advisory including CVE, CVSS score, and description. Use advisoryIds from getVersion to get full details.

## Run it with the CLI

```bash
kirha tools run depsdev_getAdvisory \
  --input '{
    "advisoryId": "GHSA-qw6h-vgh9-j6wx"
  }'
```

`--input` takes a JSON object that matches the input schema. Pass `--input -` to read it from stdin.

## Call it over HTTP

```bash
curl https://api.kirha.com/tools/v1/execute \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: **********' \
  --data '{
  "tool_name": "depsdev_getAdvisory",
  "input": {
    "advisoryId": "GHSA-qw6h-vgh9-j6wx"
  }
}'
```

Replace the stars with an API key from https://app.kirha.com/api-keys.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "advisoryId": {
      "description": "Advisory ID (e.g., 'GHSA-qw6h-vgh9-j6wx' or 'CVE-2024-43796')",
      "type": "string"
    }
  },
  "required": [
    "advisoryId"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "aliases": {
      "description": "Related identifiers (CVEs, other advisories)",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "context": {
      "type": "string"
    },
    "cvss3Score": {
      "description": "CVSS v3 severity score (0-10)",
      "type": "number"
    },
    "cvss3Vector": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "url": {
      "type": "string"
    }
  },
  "required": [
    "context",
    "id",
    "title",
    "aliases"
  ],
  "type": "object"
}
```

## Related tools

Other deps.dev tools that this tool refers to, or that refer to it.

- [`getVersion`](https://kirha.com/providers/depsdev/getVersion.md)

-----

[All deps.dev tools](https://kirha.com/providers/depsdev.md) · [< Back to tools list](https://kirha.com/tools.md)