manage_advanced_security
Manage Azure DevOps Advanced Security alerts. List security alerts for a repository and get detailed information about specific alerts. Requires Azure DevOps Advanced Security to be enabled on the organization.
Actions
Section titled “Actions”| Action | Description | Required Params | Optional Params | Write |
|---|---|---|---|---|
list_alerts | List security alerts for a repository | project_key, repo_id | states, severities | No |
get_alert | Get details for a specific alert | project_key, repo_id, alert_id | No |
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
action | string | Required. The action to perform: list_alerts, get_alert |
project_key | string | Required. Project name |
repo_id | string | Required. Repository name or ID |
alert_id | integer | Alert ID (required for get_alert) |
states | string | Filter by alert states (for list_alerts) |
severities | string | Filter by severities (for list_alerts) |
Examples
Section titled “Examples”List all alerts
Section titled “List all alerts”{ "action": "list_alerts", "project_key": "MyProject", "repo_id": "backend-api"}List critical and high severity alerts
Section titled “List critical and high severity alerts”{ "action": "list_alerts", "project_key": "MyProject", "repo_id": "backend-api", "severities": "critical,high", "states": "active"}Get alert details
Section titled “Get alert details”{ "action": "get_alert", "project_key": "MyProject", "repo_id": "backend-api", "alert_id": 42}