Skip to content

Latest commit

 

History

History
66 lines (41 loc) · 1.34 KB

File metadata and controls

66 lines (41 loc) · 1.34 KB

PUT /exceptions

Approve an existing exception request to exempt from any future template scan results

Note this does not interface with Cloud Conformity itself - the exceptions are stored in an internal database, not in Cloud Conformity itself. Having an appoved exception using this solution will not stop the check from failing if deployed into an AWS account scanned by Cloud Conformity.

URL : /exceptions

Method : PUT

Auth required : NO (however it is private endpoint, API restricted to VPC with access to VPC endpoint

Data example All fields must be sent.

[
  {
    "awsAccountId": "111122223333",
    "filename": "packaged.yml",
    "ruleId": "ELBv2-004",
    "approvedBy": "Sofía Martínez"
  },
  ...
]

Exceptions use the key of awsAccountId + filename + ruleId to uniquely identify the exception request.

Success Response

Condition : If the request is successfully approved.

Code : 200 SUCCESS

Content example

{}

Error Responses

Condition : If there is internal error approving the exception request

Code : 500

Content :

{ "message": "<failure reason>" }

Or

Condition : If fields are missing or malformed in request body.

Code : 400 BAD REQUEST

Content example

Content :

{ "message": "<failure reason>" }