O365 - Security And Compliance - Search Action - Delete Deprecated

Deprecated. Use the Microsoft Graph Security - Search And Delete Emails playbook instead. This playbook performs the following steps: 1. Creates a new compliance search action Purge - Hard or Soft. 2. Waits for the compliance search action to complete. 3. Retrieves the delete search action.

Microsoft Exchange Online · 8 tasks · 4 inputs · 32 outputs

Details

IDO365 - Security And Compliance - Search Action - Delete
From Version5.5.0
Tasks8

README

This playbook performs the following steps:

  1. Creates a new compliance search action Purge - Hard or Soft.
  2. Waits for the compliance search action to complete.
  3. Retrieves the delete search action.

Dependencies

This playbook uses the following sub-playbooks, integrations, and scripts.

Sub-playbooks

  • Waiting for delete operation to complete

Integrations

  • SecurityAndCompliance

Scripts

  • PrintErrorEntry

Commands

  • o365-sc-get-search-action
  • o365-sc-new-search-action

Playbook Inputs


Name Description Default Value Required
search_name The name of the compliance search.   Required
delete_type Purge type. Possible values are: “Soft” and “Hard”. Default is “Soft”. Soft Required
polling_timeout Search action polling timeout. 45 Optional
polling_interval Search action polling interval. 3 Optional

Playbook Outputs


Path Description Type
O365.SecurityAndCompliance.ContentSearch.SearchAction.Action Security and compliance search action type. Either “Purge” or “Preview”. String
O365.SecurityAndCompliance.ContentSearch.SearchAction.AllowNotFoundExchangeLocationsEnabled Whether to include mailboxes other than regular user mailboxes in the compliance search. Boolean
O365.SecurityAndCompliance.ContentSearch.SearchAction.AzureBatchFrameworkEnabled Whether the Azure Batch Framework is enabled for job processing. Boolean
O365.SecurityAndCompliance.ContentSearch.SearchAction.CaseId Identity of a Core eDiscovery case which is associated with the compliance search. String
O365.SecurityAndCompliance.ContentSearch.SearchAction.CaseName Name of a Core eDiscovery case which is associated with the compliance search. String
O365.SecurityAndCompliance.ContentSearch.SearchAction.CreatedBy Security and compliance search action creator. String
O365.SecurityAndCompliance.ContentSearch.SearchAction.CreatedTime Security and compliance search action creation time. Date
O365.SecurityAndCompliance.ContentSearch.SearchAction.Description Security and compliance search action description. String
O365.SecurityAndCompliance.ContentSearch.SearchAction.Errors Security and compliance search action errors. String
O365.SecurityAndCompliance.ContentSearch.SearchAction.EstimateSearchJobId Security and compliance search action job ID estimation. String
O365.SecurityAndCompliance.ContentSearch.SearchAction.EstimateSearchRunId Security and compliance search action run ID estimation. String
O365.SecurityAndCompliance.ContentSearch.SearchAction.ExchangeLocation Security and compliance search action exchange locations to include. String
O365.SecurityAndCompliance.ContentSearch.SearchAction.ExchangeLocationExclusion Security and compliance search action exchange locations to exclude. String
O365.SecurityAndCompliance.ContentSearch.SearchAction.Identity Security and compliance search action identity. String
O365.SecurityAndCompliance.ContentSearch.SearchAction.IsValid Whether the security and compliance search action is valid. Boolean
O365.SecurityAndCompliance.ContentSearch.SearchAction.JobEndTime Security and compliance search action job end time. Date
O365.SecurityAndCompliance.ContentSearch.SearchAction.JobId Security and compliance search action job ID. String
O365.SecurityAndCompliance.ContentSearch.SearchAction.JobRunId Security and compliance search action job run ID. String
O365.SecurityAndCompliance.ContentSearch.SearchAction.JobStartTime Security and compliance search action job start time. Date
O365.SecurityAndCompliance.ContentSearch.SearchAction.LastModifiedTime Security and compliance search action last modified time. Date
O365.SecurityAndCompliance.ContentSearch.SearchAction.Name Security and compliance search action name. String
O365.SecurityAndCompliance.ContentSearch.SearchAction.PublicFolderLocation Security and compliance search action public folder locations to include. String
O365.SecurityAndCompliance.ContentSearch.SearchAction.PublicFolderLocationExclusion Security and compliance search action public folder locations to exclude. String
O365.SecurityAndCompliance.ContentSearch.SearchAction.Results.Location Security and compliance search action result location. String
O365.SecurityAndCompliance.ContentSearch.SearchAction.Results.Sender Security and compliance search action result mail sender. String
O365.SecurityAndCompliance.ContentSearch.SearchAction.Results.Subject Security and compliance search action result subject. String
O365.SecurityAndCompliance.ContentSearch.SearchAction.Results.Type Security and compliance search action result type. String
O365.SecurityAndCompliance.ContentSearch.SearchAction.Results.Size Security and compliance search action result size. String
O365.SecurityAndCompliance.ContentSearch.SearchAction.Results.ReceivedTime Security and compliance search action result received time. Date
O365.SecurityAndCompliance.ContentSearch.SearchAction.Results.DataLink Security and compliance search action data link. String
O365.SecurityAndCompliance.ContentSearch.SearchAction.Retry Whether to retry if the search action failed. Boolean
O365.SecurityAndCompliance.ContentSearch.SearchAction.RunBy Security and compliance search action run by UPN (email address). String
O365.SecurityAndCompliance.ContentSearch.SearchAction.RunspaceId Security and compliance search action run space ID. String
O365.SecurityAndCompliance.ContentSearch.SearchAction.SearchName Security and compliance search action search name. String
O365.SecurityAndCompliance.ContentSearch.SearchAction.SharePointLocation Security and compliance search action SharePoint locations to include. String
O365.SecurityAndCompliance.ContentSearch.SearchAction.SharePointLocationExclusion Security and compliance search action SharePoint locations to exclude. String
O365.SecurityAndCompliance.ContentSearch.SearchAction.Status Security and compliance search action status. Either “Started” or “Completed”. String
O365.SecurityAndCompliance.ContentSearch.SearchAction.TenantId Security and compliance search action Tenant ID. String

Playbook Image


O365 - Security And Compliance - Search Action - Delete

Known Limitations


  • Each security and compliance command creates a PSSession (PowerShell session). The security and compliance PowerShell limits the number of concurrent sessions to 3. Since this affects the behavior of multiple playbooks running concurrently it we recommend that you retry failed tasks when using the integration commands in playbooks.
  • In order to handle sessions limits, A retry mechanism is applied which will retry for 10 time with 30 sec breaks. (The retry isn’t applied on the generic polling as it’s not supported yet)

Inputs

  • search_name — The name of the compliance search.
  • delete_type — Purge type. Possible values are: "Soft" and "Hard". Default is "Soft".
  • polling_timeout — Search action polling timeout.
  • polling_interval — Search action polling interval.

Outputs

  • O365.SecurityAndCompliance.ContentSearch.SearchAction.Action — Security and compliance search action type. Either "Purge" or "Preview".
  • O365.SecurityAndCompliance.ContentSearch.SearchAction.AllowNotFoundExchangeLocationsEnabled — Whether to include mailboxes other than regular user mailboxes in the compliance search.
  • O365.SecurityAndCompliance.ContentSearch.SearchAction.AzureBatchFrameworkEnabled — Whether the Azure Batch Framework is enabled for job processing.
  • O365.SecurityAndCompliance.ContentSearch.SearchAction.CaseId — Identity of a Core eDiscovery case which is associated with the compliance search.
  • O365.SecurityAndCompliance.ContentSearch.SearchAction.CaseName — Name of a Core eDiscovery case which is associated with the compliance search.
  • O365.SecurityAndCompliance.ContentSearch.SearchAction.CreatedBy — Security and compliance search action creator.
  • O365.SecurityAndCompliance.ContentSearch.SearchAction.CreatedTime — Security and compliance search action creation time.
  • O365.SecurityAndCompliance.ContentSearch.SearchAction.Description — Security and compliance search action description.
  • O365.SecurityAndCompliance.ContentSearch.SearchAction.Errors — Security and compliance search action errors.
  • O365.SecurityAndCompliance.ContentSearch.SearchAction.EstimateSearchJobId — Security and compliance search action job ID estimation.
  • O365.SecurityAndCompliance.ContentSearch.SearchAction.EstimateSearchRunId — Security and compliance search action run ID estimation.
  • O365.SecurityAndCompliance.ContentSearch.SearchAction.ExchangeLocation — Security and compliance search action exchange locations to include.
  • O365.SecurityAndCompliance.ContentSearch.SearchAction.ExchangeLocationExclusion — Security and compliance search action exchange locations to exclude.
  • O365.SecurityAndCompliance.ContentSearch.SearchAction.Identity — Security and compliance search action identity.
  • O365.SecurityAndCompliance.ContentSearch.SearchAction.IsValid — Whether the security and compliance search action is valid.
  • O365.SecurityAndCompliance.ContentSearch.SearchAction.JobEndTime — Security and compliance search action job end time.
  • O365.SecurityAndCompliance.ContentSearch.SearchAction.JobId — Security and compliance search action job ID.
  • O365.SecurityAndCompliance.ContentSearch.SearchAction.JobRunId — Security and compliance search action job run ID.
  • O365.SecurityAndCompliance.ContentSearch.SearchAction.JobStartTime — Security and compliance search action job start time.
  • O365.SecurityAndCompliance.ContentSearch.SearchAction.LastModifiedTime — Security and compliance search action last modified time.
  • O365.SecurityAndCompliance.ContentSearch.SearchAction.Name — Security and compliance search action name.
  • O365.SecurityAndCompliance.ContentSearch.SearchAction.PublicFolderLocation — Security and compliance search action public folder locations to include.
  • O365.SecurityAndCompliance.ContentSearch.SearchAction.PublicFolderLocationExclusion — Security and compliance search action public folder locations to exclude.
  • O365.SecurityAndCompliance.ContentSearch.SearchAction.Results — Security and compliance search action results.
  • O365.SecurityAndCompliance.ContentSearch.SearchAction.Retry — Whether to retry if the search action failed.
  • O365.SecurityAndCompliance.ContentSearch.SearchAction.RunBy — Security and compliance search action run by UPN (email address).
  • O365.SecurityAndCompliance.ContentSearch.SearchAction.RunspaceId — Security and compliance search action run space ID.
  • O365.SecurityAndCompliance.ContentSearch.SearchAction.SearchName — Security and compliance search action search name.
  • O365.SecurityAndCompliance.ContentSearch.SearchAction.SharePointLocation — Security and compliance search action SharePoint locations to include.
  • O365.SecurityAndCompliance.ContentSearch.SearchAction.SharePointLocationExclusion — Security and compliance search action SharePoint locations to exclude.
  • O365.SecurityAndCompliance.ContentSearch.SearchAction.Status — Security and compliance search action status. Either "Started" or "Completed".
  • O365.SecurityAndCompliance.ContentSearch.SearchAction.TenantId — Security and compliance search action Tenant ID.

Commands used

o365-sc-get-search-action o365-sc-new-search-action

Flowchart

Hard delete Soft delete Start Start Search action - Hard delete - o365-sc-new-search-action Search action - Hard delete o365-sc-new-search-action Waiting for delete operation to complete - GenericPolling Waiting for delete operat... GenericPolling Search action completed. Search action completed. Perform a hard delete on the compliance search results? Perform a hard delete on ... Search action - Soft delete. - o365-sc-new-search-action Search action - Soft delete. o365-sc-new-search-action Get the search action. - o365-sc-get-search-action Get the search action. o365-sc-get-search-action Error - Invalid delete_type parameter. - PrintErrorEntry Error - Invalid delete_ty... PrintErrorEntry
deprecated: true
description: |-
  Deprecated. Use the Microsoft Graph Security - Search And Delete Emails playbook instead.
  This playbook performs the following steps:
  1. Creates a new compliance search action Purge - Hard or Soft.
  2. Waits for the compliance search action to complete.
  3. Retrieves the delete search action.
id: O365 - Security And Compliance - Search Action - Delete
inputs:
- key: search_name
  value: {}
  required: true
  description: The name of the compliance search.
  playbookInputQuery:
- key: delete_type
  value:
    simple: Soft
  required: true
  description: 'Purge type. Possible values are: "Soft" and "Hard". Default is "Soft".'
  playbookInputQuery:
- key: polling_timeout
  value:
    simple: "45"
  required: false
  description: Search action polling timeout.
  playbookInputQuery:
- key: polling_interval
  value:
    simple: "3"
  required: false
  description: Search action polling interval.
  playbookInputQuery:
name: O365 - Security And Compliance - Search Action - Delete
outputs:
- contextPath: O365.SecurityAndCompliance.ContentSearch.SearchAction.Action
  description: Security and compliance search action type. Either "Purge" or "Preview".
  type: String
- contextPath: O365.SecurityAndCompliance.ContentSearch.SearchAction.AllowNotFoundExchangeLocationsEnabled
  description: Whether to include mailboxes other than regular user mailboxes in the compliance search.
  type: Boolean
- contextPath: O365.SecurityAndCompliance.ContentSearch.SearchAction.AzureBatchFrameworkEnabled
  description: Whether the Azure Batch Framework is enabled for job processing.
  type: Boolean
- contextPath: O365.SecurityAndCompliance.ContentSearch.SearchAction.CaseId
  description: Identity of a Core eDiscovery case which is associated with the compliance search.
  type: String
- contextPath: O365.SecurityAndCompliance.ContentSearch.SearchAction.CaseName
  description: Name of a Core eDiscovery case which is associated with the compliance search.
  type: String
- contextPath: O365.SecurityAndCompliance.ContentSearch.SearchAction.CreatedBy
  description: Security and compliance search action creator.
  type: String
- contextPath: O365.SecurityAndCompliance.ContentSearch.SearchAction.CreatedTime
  description: Security and compliance search action creation time.
  type: Date
- contextPath: O365.SecurityAndCompliance.ContentSearch.SearchAction.Description
  description: Security and compliance search action description.
  type: String
- contextPath: O365.SecurityAndCompliance.ContentSearch.SearchAction.Errors
  description: Security and compliance search action errors.
  type: String
- contextPath: O365.SecurityAndCompliance.ContentSearch.SearchAction.EstimateSearchJobId
  description: Security and compliance search action job ID estimation.
  type: String
- contextPath: O365.SecurityAndCompliance.ContentSearch.SearchAction.EstimateSearchRunId
  description: Security and compliance search action run ID estimation.
  type: String
- contextPath: O365.SecurityAndCompliance.ContentSearch.SearchAction.ExchangeLocation
  description: Security and compliance search action exchange locations to include.
  type: String
- contextPath: O365.SecurityAndCompliance.ContentSearch.SearchAction.ExchangeLocationExclusion
  description: Security and compliance search action exchange locations to exclude.
  type: String
- contextPath: O365.SecurityAndCompliance.ContentSearch.SearchAction.Identity
  description: Security and compliance search action identity.
  type: String
- contextPath: O365.SecurityAndCompliance.ContentSearch.SearchAction.IsValid
  description: Whether the security and compliance search action is valid.
  type: Boolean
- contextPath: O365.SecurityAndCompliance.ContentSearch.SearchAction.JobEndTime
  description: Security and compliance search action job end time.
  type: Date
- contextPath: O365.SecurityAndCompliance.ContentSearch.SearchAction.JobId
  description: Security and compliance search action job ID.
  type: String
- contextPath: O365.SecurityAndCompliance.ContentSearch.SearchAction.JobRunId
  description: Security and compliance search action job run ID.
  type: String
- contextPath: O365.SecurityAndCompliance.ContentSearch.SearchAction.JobStartTime
  description: Security and compliance search action job start time.
  type: Date
- contextPath: O365.SecurityAndCompliance.ContentSearch.SearchAction.LastModifiedTime
  description: Security and compliance search action last modified time.
  type: Date
- contextPath: O365.SecurityAndCompliance.ContentSearch.SearchAction.Name
  description: Security and compliance search action name.
  type: String
- contextPath: O365.SecurityAndCompliance.ContentSearch.SearchAction.PublicFolderLocation
  description: Security and compliance search action public folder locations to include.
  type: String
- contextPath: O365.SecurityAndCompliance.ContentSearch.SearchAction.PublicFolderLocationExclusion
  description: Security and compliance search action public folder locations to exclude.
  type: String
- contextPath: O365.SecurityAndCompliance.ContentSearch.SearchAction.Results
  description: Security and compliance search action results.
  type: unknown
- contextPath: O365.SecurityAndCompliance.ContentSearch.SearchAction.Retry
  description: Whether to retry if the search action failed.
  type: Boolean
- contextPath: O365.SecurityAndCompliance.ContentSearch.SearchAction.RunBy
  description: Security and compliance search action run by UPN (email address).
  type: String
- contextPath: O365.SecurityAndCompliance.ContentSearch.SearchAction.RunspaceId
  description: Security and compliance search action run space ID.
  type: String
- contextPath: O365.SecurityAndCompliance.ContentSearch.SearchAction.SearchName
  description: Security and compliance search action search name.
  type: String
- contextPath: O365.SecurityAndCompliance.ContentSearch.SearchAction.SharePointLocation
  description: Security and compliance search action SharePoint locations to include.
  type: String
- contextPath: O365.SecurityAndCompliance.ContentSearch.SearchAction.SharePointLocationExclusion
  description: Security and compliance search action SharePoint locations to exclude.
  type: String
- contextPath: O365.SecurityAndCompliance.ContentSearch.SearchAction.Status
  description: Security and compliance search action status. Either "Started" or "Completed".
  type: String
- contextPath: O365.SecurityAndCompliance.ContentSearch.SearchAction.TenantId
  description: Security and compliance search action Tenant ID.
  type: String
sourceplaybookid: O365 - Security And Compliance - Search Action
starttaskid: "0"
tasks:
  "0":
    id: "0"
    taskid: ef9beba1-fef3-4475-89b9-31c25d768d72
    type: start
    task:
      id: ef9beba1-fef3-4475-89b9-31c25d768d72
      version: -1
      name: ""
      iscommand: false
      brand: ""
      description: ""
    nexttasks:
      '#none#':
      - "5"
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 265,
          "y": 50
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
    isoversize: false
    isautoswitchedtoquietmode: false
  "1":
    id: "1"
    taskid: 3ca34222-609f-4072-89f2-38c38f12bf3c
    type: regular
    task:
      id: 3ca34222-609f-4072-89f2-38c38f12bf3c
      version: -1
      name: Search action - Hard delete
      description: After you create a content search using the !o365-sc-new-search command and run it using the !o365-sc-start-search command, you assign a search action to the search using the !o365-sc-new-search-action command.
      script: '|||o365-sc-new-search-action'
      type: regular
      iscommand: true
      brand: ""
    nexttasks:
      '#none#':
      - "3"
    scriptarguments:
      action:
        simple: Purge
      purge_type:
        simple: HardDelete
      retry-count:
        simple: "10"
      search_name:
        complex:
          root: inputs.search_name
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 30,
          "y": 410
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
    isoversize: false
    isautoswitchedtoquietmode: false
  "3":
    id: "3"
    taskid: ba396725-eaf8-4dba-815a-e68640172630
    type: playbook
    task:
      id: ba396725-eaf8-4dba-815a-e68640172630
      version: -1
      name: Waiting for delete operation to complete
      description: |-
        Use this playbook as a sub-playbook to block execution of the master playbook until a remote action is complete.
        This playbook implements polling by continuously running the command in Step \#2 until the operation completes.
        The remote action should have the following structure:

        1. Initiate the operation.
        2. Poll to check if the operation completed.
        3. (optional) Get the results of the operation.
      playbookName: GenericPolling
      type: playbook
      iscommand: false
      brand: ""
    nexttasks:
      '#none#':
      - "7"
    scriptarguments:
      Ids:
        complex:
          root: O365.SecurityAndCompliance.ContentSearch.SearchAction
          accessor: Name
      Interval:
        simple: ${inputs.polling_interval}
      PollingCommandArgName:
        simple: search_action_name
      PollingCommandName:
        simple: o365-sc-get-search-action
      Timeout:
        simple: ${inputs.polling_timeout}
      dt:
        simple: O365.SecurityAndCompliance.ContentSearch.SearchAction(val.Status && val.Status == "InProgress" || val.Status == "Starting" || val.Status == "Purging").Name
    separatecontext: true
    loop:
      iscommand: false
      exitCondition: ""
      wait: 1
      max: 100
    view: |-
      {
        "position": {
          "x": 240,
          "y": 600
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
  "4":
    id: "4"
    taskid: a0952765-7686-4a51-8341-9b67eaf925f2
    type: title
    task:
      id: a0952765-7686-4a51-8341-9b67eaf925f2
      version: -1
      name: Search action completed.
      type: title
      iscommand: false
      brand: ""
      description: ""
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 240,
          "y": 925
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
    isoversize: false
    isautoswitchedtoquietmode: false
  "5":
    id: "5"
    taskid: a0b2fe95-1349-4379-8684-0601ef705510
    type: condition
    task:
      id: a0b2fe95-1349-4379-8684-0601ef705510
      version: -1
      name: Perform a hard delete on the compliance search results?
      type: condition
      iscommand: false
      brand: ""
      description: ""
    nexttasks:
      '#default#':
      - "8"
      Hard delete:
      - "1"
      Soft delete:
      - "6"
    separatecontext: false
    conditions:
    - label: Hard delete
      condition:
      - - operator: isEqualString
          left:
            value:
              complex:
                root: inputs.delete_type
                transformers:
                - operator: toUpperCase
            iscontext: true
          right:
            value:
              simple: HARD
    - label: Soft delete
      condition:
      - - operator: isEqualString
          left:
            value:
              complex:
                root: inputs.delete_type
                transformers:
                - operator: toUpperCase
            iscontext: true
          right:
            value:
              simple: SOFT
    view: |-
      {
        "position": {
          "x": 265,
          "y": 195
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
    isoversize: false
    isautoswitchedtoquietmode: false
  "6":
    id: "6"
    taskid: 849b3d7c-5f6c-40b7-8f2b-066e5bf14d6e
    type: regular
    task:
      id: 849b3d7c-5f6c-40b7-8f2b-066e5bf14d6e
      version: -1
      name: Search action - Soft delete.
      description: After you create a content search using the !o365-sc-new-search command and run it using the !o365-sc-start-search command, you assign a search action to the search using the !o365-sc-new-search-action command.
      script: '|||o365-sc-new-search-action'
      type: regular
      iscommand: true
      brand: ""
    nexttasks:
      '#none#':
      - "3"
    scriptarguments:
      action:
        simple: Purge
      purge_type:
        simple: SoftDelete
      retry-count:
        simple: "10"
      search_name:
        complex:
          root: inputs.search_name
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 490,
          "y": 410
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
    isoversize: false
    isautoswitchedtoquietmode: false
  "7":
    id: "7"
    taskid: a366b3b2-a1b5-498b-84c5-ea740e05437c
    type: regular
    task:
      id: a366b3b2-a1b5-498b-84c5-ea740e05437c
      version: -1
      name: Get the search action.
      description: Get the compliance search action from the Security & Compliance Center.
      script: '|||o365-sc-get-search-action'
      type: regular
      iscommand: true
      brand: ""
    nexttasks:
      '#none#':
      - "4"
    scriptarguments:
      export:
        simple: "true"
      retry-count:
        simple: "10"
      search_action_name:
        complex:
          root: O365.SecurityAndCompliance.ContentSearch.SearchAction
          accessor: Name
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 240,
          "y": 760
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
    isoversize: false
    isautoswitchedtoquietmode: false
  "8":
    id: "8"
    taskid: 5188bc1a-4187-4f4d-8a1c-215de4714c73
    type: regular
    task:
      id: 5188bc1a-4187-4f4d-8a1c-215de4714c73
      version: -1
      name: Error - Invalid delete_type parameter.
      description: Print an error entry with a given message.
      scriptName: PrintErrorEntry
      type: regular
      iscommand: false
      brand: ""
    scriptarguments:
      message:
        simple: delete_type parameter should be Soft or Hard.
    separatecontext: false
    view: |-
      {
        "position": {
          "x": -500,
          "y": 370
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
    isoversize: false
    isautoswitchedtoquietmode: false
view: |-
  {
    "linkLabelsPosition": {
      "5_1_Hard delete": 0.48,
      "5_6_Soft delete": 0.54
    },
    "paper": {
      "dimensions": {
        "height": 940,
        "width": 1370,
        "x": -500,
        "y": 50
      }
    }
  }
version: -1
fromversion: 5.5.0
tests:
- No tests (deprecated)
supportedModules:
- agentix
- cloud
- xsiam
- edr
- cloud_runtime_security