- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- ReportTemplateCategoryEnum
- Try it!
Full name: projects.locations.instances.legacySoarReports.legacyImportReportTemplate
legacySoarReports.legacyImportReportTemplate to import report templates.
HTTP request
POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{instance}/legacySoarReports:legacyImportReportTemplate Path parameters
| Parameters | |
|---|---|
instance |
Required. The instance to import the report template for. Format: projects/{project}/locations/{location}/instances/{instance} |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "creator": string, "creatorFullName": string, "category": enum ( |
| Fields | |
|---|---|
creator |
Output only. Deprecated: This is a security breach. this should be retrieved from the requesting user and not specified in the request. |
creatorFullName |
Output only. The full name of the creator of the report template. Deprecated: This is a security breach. this should be retrieved from the requesting user and not specified in the request. |
category |
Required. The category of the report template. |
name |
The name of the report template. |
reportWidgets[] |
Optional. The widgets of the report template. |
creationTimeUnixTimeInMs |
Optional. The creation time of the report template. |
modificationTimeUnixTimeInMs |
Optional. The last modified time of the report template. |
id |
Output only. The report template id. |
isSystem |
Required. Whether the report template is a system report. |
hasScheduler |
Optional. Whether the report template has a scheduler. |
Response body
If successful, the response body is an empty JSON object.
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 instance resource:
chronicle.legacySoarReports.update
For more information, see the IAM documentation.
ReportTemplateCategoryEnum
ReportTemplateCategoryEnum defines the category of the report template.
| Enums | |
|---|---|
ROI |
Roi category. |
MANAGEMENT |
Management category. |
SLA |
Sla category. |
TIER1 |
Tier1 category. |
GENERAL |
General category. |