page and per_page parametersrules_count field in the response give the number of rules0 is returned in this field.security_events scope to use this endpoint.security_events read permission to use this endpoint.tool_name field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the tool field.Authorization: Bearer ********************curl --location 'https://api.github.com/repos///code-scanning/analyses' \
--header 'Authorization: Bearer <token>'[
{
"analysis_key": "string",
"category": "string",
"commit_sha": "stringstringstringstringstringstringstri",
"created_at": "2019-08-24T14:15:22.123Z",
"deletable": true,
"environment": "string",
"error": "error reading field xyz",
"id": 0,
"ref": "string",
"results_count": 0,
"rules_count": 0,
"sarif_id": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53",
"tool": {
"guid": "string",
"name": "string",
"version": "string"
},
"url": "http://example.com",
"warning": "123 results were ignored"
}
]