Method: legacyPlaybooks.legacyGetWorkFlowVersionLogs

Full name: projects.locations.instances.legacyPlaybooks.legacyGetWorkFlowVersionLogs

Returns the complete history of saved versions for a specific playbook definition. Use this method to review past configurations or identify when logic changes occurred.

HTTP request


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

Path parameters

Parameters
instance

string

Required. The instance to get the workflow version logs for. Format: projects/{project}/locations/{location}/instances/{instance}

Request body

The request body contains data with the following structure:

JSON representation
{
  "workflowIdentifier": string
}
Fields
workflowIdentifier

string

Required. The identifier of the workflow to get the workflow version logs for.

Response body

LegacyPlaybookGetWorkFlowVersionLogsResponse is a response for getting the workflow version logs.

If successful, the response body contains data with the following structure:

JSON representation
{
  "payload": [
    {
      object (WorkflowVersionLog)
    }
  ]
}
Fields
payload[]

object (WorkflowVersionLog)

Optional. The workflow version logs.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/chronicle
  • https://www.googleapis.com/auth/chronicle.readonly

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the instance resource:

  • chronicle.legacyPlaybooks.get

For more information, see the IAM documentation.

WorkflowVersionLog

WorkflowVersionLog represents a workflow version log.

JSON representation
{
  "workFlowIdentifier": string,
  "workflowName": string,
  "creationTimeUnixTimeInMs": string,
  "versionCreator": string,
  "versionComment": string
}
Fields
workFlowIdentifier

string

Required. WorkFlowIdentifier is the unique identifier of the workflow.

workflowName

string

Required. WorkflowName is the name of the workflow.

creationTimeUnixTimeInMs

string (int64 format)

Required. CreationTimeUnixTimeInMs is the creation time of the workflow version log. Represents DateTime CreationTimeUnixTimeInMs as unix time

versionCreator

string

Required. VersionCreator is the creator of the workflow version.

versionComment

string

Required. VersionComment is the comment of the workflow version.