Configs
GCP Projects
Get a list of GCP project IDs for an entire account or for a specific organization.
To list all GCP project IDs for an account, invoke the following endpoint:
GET https://YourAccount.lacework.net/api/v2/Configs/GcpProjects
To get a list of GCP project IDs for a specific organization, pass the organization ID as a parameter to the endpoint:
GET https://YourAccount.lacework.net/api/v2/Configs/GcpProjects?orgId={orgId}
get/api/v2/Configs/GcpProjects
Query parameters
orgIdstring
The GCP organization ID.
Headers
Authorizationstring required
Bearer Access Token. For example, "Bearer {YourAPIToken}"
Content-Typestring required
application/json
Response
No Error (List of GCP Projects)