Skip to content

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.

ActionDescriptionRequired ParamsOptional ParamsWrite
list_alertsList security alerts for a repositoryproject_key, repo_idstates, severitiesNo
get_alertGet details for a specific alertproject_key, repo_id, alert_idNo
ParameterTypeDescription
actionstringRequired. The action to perform: list_alerts, get_alert
project_keystringRequired. Project name
repo_idstringRequired. Repository name or ID
alert_idintegerAlert ID (required for get_alert)
statesstringFilter by alert states (for list_alerts)
severitiesstringFilter by severities (for list_alerts)
{
"action": "list_alerts",
"project_key": "MyProject",
"repo_id": "backend-api"
}
{
"action": "list_alerts",
"project_key": "MyProject",
"repo_id": "backend-api",
"severities": "critical,high",
"states": "active"
}
{
"action": "get_alert",
"project_key": "MyProject",
"repo_id": "backend-api",
"alert_id": 42
}