Method: projects.securityHealthAnalyticsSettings.customModules.simulate

Simulates a given SecurityHealthAnalyticsCustomModule and Resource.

HTTP request


The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The relative resource name of the organization, project, or folder. For more information about relative resource names, see Relative Resource Name Example: organizations/{organization_id}

Request body

The request body contains data with the following structure:

JSON representation
{
  "customConfig": {
    object (CustomConfig)
  },
  "resource": {
    object (SimulatedResource)
  }
}
Fields
customConfig

object (CustomConfig)

Required. The custom configuration that you need to test.

resource

object (SimulatedResource)

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.