{
"opencollection": "1.0.0",
"info": {
"name": "Amazon CodeGuru Security AccountConfiguration Metrics API",
"version": "1.0.0"
},
"request": {
"auth": {
"type": "apikey",
"key": "Authorization",
"value": "{{Authorization}}",
"placement": "header"
}
},
"items": [
{
"info": {
"name": "Metrics",
"type": "folder"
},
"items": [
{
"info": {
"name": "Amazon CodeGuru Security Get Metrics Summary",
"type": "http"
},
"http": {
"method": "GET",
"url": "http://codeguru-security.{region}.amazonaws.com/metrics/summary#date",
"headers": [
{
"name": "X-Amz-Content-Sha256",
"value": ""
},
{
"name": "X-Amz-Date",
"value": ""
},
{
"name": "X-Amz-Algorithm",
"value": ""
},
{
"name": "X-Amz-Credential",
"value": ""
},
{
"name": "X-Amz-Security-Token",
"value": ""
},
{
"name": "X-Amz-Signature",
"value": ""
},
{
"name": "X-Amz-SignedHeaders",
"value": ""
}
],
"params": [
{
"name": "date",
"value": "",
"type": "query",
"description": "The date you want to retrieve summary metrics from, rounded to the nearest day. The date must be within the past two years since metrics data is only stored for two years. If a date outside of this range is passed, the response will be empty."
}
]
},
"docs": "Returns top level metrics about an account from a specified date, including number of open findings, the categories with most findings, the scans with most open findings, and scans with most open critical findings. "
},
{
"info": {
"name": "Amazon CodeGuru Security List Findings Metrics",
"type": "http"
},
"http": {
"method": "GET",
"url": "http://codeguru-security.{region}.amazonaws.com/metrics/findings#endDate&startDate",
"headers": [
{
"name": "X-Amz-Content-Sha256",
"value": ""
},
{
"name": "X-Amz-Date",
"value": ""
},
{
"name": "X-Amz-Algorithm",
"value": ""
},
{
"name": "X-Amz-Credential",
"value": ""
},
{
"name": "X-Amz-Security-Token",
"value": ""
},
{
"name": "X-Amz-Signature",
"value": ""
},
{
"name": "X-Amz-SignedHeaders",
"value": ""
}
],
"params": [
{
"name": "endDate",
"value": "",
"type": "query",
"description": "The end date of the interval which you want to retrieve metrics from."
},
{
"name": "maxResults",
"value": "",
"type": "query",
"description": "The maximum number of results to return in the response. Use this parameter when paginating results. If additional results exist beyond the number you specify, the nextToken element is returned in the response. Use nextToken in a subsequent request to retrieve additional results."
},
{
"name": "nextToken",
"value": "",
"type": "query",
"description": "A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request to continue listing results after the first page."
},
{
"name": "startDate",
"value": "",
"type": "query",
"description": "The start date of the interval which you want to retrieve metrics from."
}
]
},
"docs": "Returns metrics about all findings in an account within a specified time range."
}
]
}
],
"bundled": true
}