Method: legacySoarReports.legacyAddOrUpdateReportTemplate

Full name: projects.locations.instances.legacySoarReports.legacyAddOrUpdateReportTemplate

legacySoarReports.legacyAddOrUpdateReportTemplate to add or update a report template.

HTTP request


POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{instance}/legacySoarReports:legacyAddOrUpdateReportTemplate

Path parameters

Parameters
instance

string

Required. The instance to get the data sources 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 (ReportTemplateCategoryEnum),
  "name": string,
  "reportWidgets": [
    {
      object (LegacyDashboardWidgetDataModel)
    }
  ],
  "creationTimeUnixTimeInMs": string,
  "modificationTimeUnixTimeInMs": string,
  "id": string,
  "isSystem": boolean,
  "hasScheduler": boolean
}
Fields
creator

string

Output only. Deprecated: This is a security breach. this should be retrieved from the requesting user and not specified in the request.

creatorFullName

string

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

enum (ReportTemplateCategoryEnum)

Required. The category of the report template.

name

string

Required. The name of the report template.

reportWidgets[]

object (LegacyDashboardWidgetDataModel)

Optional. The widgets of the report template.

creationTimeUnixTimeInMs

string (int64 format)

Optional. The creation time of the report template.

modificationTimeUnixTimeInMs

string (int64 format)

Optional. The last modified time of the report template.

id

string (int64 format)

Output only. The report template id.

isSystem

boolean

Required. Whether the report template is a system report.

hasScheduler

boolean

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.