Skip to main content

Raw Lacework API

To access raw Lacework API endpoints, use the command lacework api <method> <path>.

This command is useful when troubleshooting the behavior of commands, or to access both API v1 and v2.

This is considered a troubleshooting command.

APIv1

An example of an APIv1 endpoint you can access that is not abstracted by the CLI is the /v1/external/integrations/schema/{TYPE} endpoint, this API returns the integration schema for the passed integration type.

To see the schema of the AWS_CFG integration type run:

lacework api get /v1/external/integrations/schema/AWS_CFG

For a complete list of available APIv1 endpoints, visit:

APIv2

You can also send APIv2 requests, such as /v2/schemas. This API returns the list of all available Lacework schemas:

lacework api get /v2/schemas

For a complete list of available APIv2 endpoints, visit: