v1

latestOpenAPI 3.0.3FortiCNAPP Use License2026-08-041754351.1 MB
Reports

Reports

Get a specific report by invoking the following endpoint:

GET https://YourAccount.lacework.net/api/v2/Reports?primaryQueryId={primaryQueryId}&secondaryQueryId={secondaryQueryId}&format={format}&reportType={reportType}&severity={severity}&status={status}

Examples:

GET https://YourAccount.lacework.net/api/v2/Reports?primaryQueryId=343523252&format=json&reportType=HIPAA&severity=critical,high,medium&status=Compliant,NonCompliant

get/api/v2/Reports

Query parameters

primaryQueryIdstring

The primary ID that is used to fetch the report; for example, AWS Account ID or Azure Tenant ID.

Note: For GCP, use the secondaryQueryId attribute to provide your GCP Project ID.

secondaryQueryIdstring

The secondary ID that is used to fetch the report; for example, GCP Project ID or Azure Subscription ID.

Note: For AWS, this parameter is not required.

Use the GCP Projects or Azure Subscriptions endpoints in the Configurations API to get the IDs to use. Be sure to provide only the ID as this parameter value, excluding the project or subscription alias. That is, use "81A2D8F9-F8B6-3A5D-B3C7-99680EF0B89F", not "81A2D8F9-F8B6-3A5D-B3C7-99680EF0B89F (Pay-As-You-Go)".

format'json' | 'pdf' | 'csv' | 'html'

The report's format.

reportType'AWS_CIS_14' | 'AZURE_CIS_1_5' | 'GCP_CIS13' required

The name of the report type in API format, for example, AZURE_NIST_CSF_CIS_1_5. See Compliance Frameworks for a list of available reports.

Note: Use reportName to get the report by the report definition's name instead.

severity'critical' | 'high' | 'medium' | 'low' | 'info'

Severities to filter the report on, e.g. severity=critical,high,medium.

status'Compliant' | 'NonCompliant' | 'Suppressed' | 'CouldNotAssess' | 'Manual'

Statuses to filter the report on, e.g. status=Compliant,NonCompliant.

Headers

Authorizationstring required

Bearer Access Token. For example, "Bearer {YourAPIToken}"

Content-Typestring required

application/json

Response

No Error (List of Reports)

dataReportsResponseSchema[]