v1
latestOpenAPI 3.1.02026-07-261690320.7 KBList SAST rules
List SAST rules. Requires scope repositories:read
get/repositories/code/sast/rules
Query parameters
repo_idinteger
Optional: Filters the open issue count to only count the issues related to the specified repo
Response
A list of SAST rules
Example response
[
{
"id": "AIK_use_of_polyfill_io",
"title": "Serving JS code from a malicious domain",
"base_score": 100,
"description": "Aikido found references to a malicious domain (e.g. polyfill[.]io, bootcss[.]net). You may be embedding its scripts in your application. The domains are owned by an entity known for serving malicious code.",
"how_to_fix": "Remove any references to the malicious domain.",
"language": "JS",
"open_issues_count": 1
}
]