SV-274533r1143563_rule
V-274533
SRG-APP-000095
SRG-APP-000095-API-001790
CAT II
10
Build or configure the API Gateway to log the necessary request and response details such as method, URL, headers, body, status, etc.
If an API Gateway is not in use, this is Not Applicable.
Verify the API audits execution time and performance metrics.
1. Inspect the API Gateway's logs to verify they capture details of incoming requests and outgoing responses, including headers, body content, and status codes.
2. Simulate various requests and verify that both request and response details are being logged correctly, including any data passed and the response outcome.
3. Verify the API Gateway is configured to log the necessary request and response details, such as the type of request, request parameters, and response status.
4. Review the API Gateway's documentation to ensure proper auditing of request and response details is enabled.
If the API Gateway is not auditing request and response detail, this is a finding.
V-274533
False
SRG-APP-000095-API-001790
If an API Gateway is not in use, this is Not Applicable.
Verify the API audits execution time and performance metrics.
1. Inspect the API Gateway's logs to verify they capture details of incoming requests and outgoing responses, including headers, body content, and status codes.
2. Simulate various requests and verify that both request and response details are being logged correctly, including any data passed and the response outcome.
3. Verify the API Gateway is configured to log the necessary request and response details, such as the type of request, request parameters, and response status.
4. Review the API Gateway's documentation to ensure proper auditing of request and response details is enabled.
If the API Gateway is not auditing request and response detail, this is a finding.
M
5703