Full name: projects.locations.instances.contentHub.contentPacks.deployTestCases
Deploys test cases from a content pack into the SecOps instance. Use this method to populate your environment with sample data for verification.
HTTP request
POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{name}:deployTestCases Path parameters
| Parameters | |
|---|---|
name |
Required. The resource name of the ContentPack to install test cases. Format: projects/{project}/locations/{location}/instances/{instance}/contentHub/contentPacks/{contentPack} |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "overrideMapping": boolean } |
| Fields | |
|---|---|
overrideMapping |
Optional. Represents if mapping should be overridden By default, set to false |
Response body
Response message for installing test cases.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{ "installedTestCases": [ string ] } |
| Fields | |
|---|---|
installedTestCases[] |
Output only. List of installed test cases |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/chroniclehttps://www.googleapis.com/auth/chronicle.readonly
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name resource:
chronicle.contentPacks.install
For more information, see the IAM documentation.