- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Simulates the result of using a SecurityHealthAnalyticsCustomModule
to check a resource.
HTTP request
POST https://securitycentermanagement.googleapis.com/v1/{parent=organizations/*/locations/*}/securityHealthAnalyticsCustomModules:simulate
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The relative resource name of the organization, project, or folder. For more information about relative resource names, see AIP-122: Resource names. Example: |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "customConfig": { object ( |
Fields | |
---|---|
custom |
Required. The custom configuration that you need to test. |
resource |
Required. Resource data to simulate custom module against. |
Response body
If successful, the response body contains an instance of SimulateSecurityHealthAnalyticsCustomModuleResponse
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent
resource:
securitycentermanagement.securityHealthAnalyticsCustomModules.simulate
For more information, see the IAM documentation.