AfterRelativeDate

Checks the given datetime has occured after the provided relative time.

python · Filters And Transformers

Details

IDAfterRelativeDate
Languagepython
From Version5.0.0
Docker Imagedemisto/python3:3.12.13.10404775
Tagsdate filter Condition

README

Checks the given datetime has occurred after the provided relative time.

Script Data


Name Description
Script Type python3
Tags date, filter, Condition
Cortex XSOAR Version 5.0.0

Inputs


Argument Name Description
left Date value to check - Can be any time format. ex. “2020-01-01T00:00:00”
right Relative time ex. “6 months ago”

Outputs


There are no outputs for this script.

args:
- description: Date value to check - Can be any time format. ex. "2020-01-01T00:00:00".
  name: left
  required: true
- description: Relative time ex. "6 months ago".
  name: right
  required: true
comment: Checks the given datetime has occured after the provided relative time.
commonfields:
  id: AfterRelativeDate
  version: -1
enabled: true
name: AfterRelativeDate
script: '-'
subtype: python3
tags:
- date
- filter
- Condition
timeout: '0'
isllm: false
type: python
dockerimage: demisto/python3:3.12.13.10404775
runas: DBotWeakRole
fromversion: 5.0.0
tests:
- No tests (unit test)