Security Monitoring
List codegen rulesets
Get the rulesets relevant for code generation for the authenticated user.
get/api/v2/static-analysis/codegen/rulesets
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/v2/static-analysis/codegen/rulesets
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code: /oauth2/v1/authorizeToken URL: /oauth2/v1/token scopes: code_analysis_read
Response
OK
Example response
{
"data": [
{
"attributes": {
"description": "A collection of Python best practice rules.",
"name": "python-best-practices",
"rules": [
{
"data": {
"type": "rules"
}
}
],
"short_description": "Python best practices ruleset."
},
"id": "python-best-practices",
"type": "rulesets"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.