ImpSfScheduleTask

Creating a schedule task that's call ImpSfRevokeUnaccessedDevices: Getting all devices data from server, if a device haven't been accessed to in over two months (and is still managed), the script will send the corresponding user a warning mail. If it's haven't been accessed to in over three months, the script will revoke the device credentials and notify the user by mail.

python · Imperva Skyfence

Details

IDImpSfScheduleTask
Languagepython
From Version5.0.0
Docker Imagedemisto/python3:3.12.13.10116658
TagsImperva Skyfence

README

Creates a schedule task that’s called ImpSfRevokeUnaccessedDevices.
Gets all of a device’s data from the server. If a device hasn’t been accessed in over two months (and is still managed), the script will send the corresponding user a warning mail.
If the device hasn’t been accessed in over three months, the script will revoke the device credentials and notify the user by mail.

Script Data


Name Description
Script Type python
Tags Imperva Skyfence

Dependencies


This script uses the following commands and scripts.

  • scheduleEntry
  • ImpSfRevokeUnaccessedDevices

Inputs


Argument Name Description
cron The interval between each check (in cron format).
times The number of times to execute the check.

Outputs


There are no outputs for this script.

commonfields:
  id: ImpSfScheduleTask
  version: -1
name: ImpSfScheduleTask
script: ''
type: python
subtype: python2
tags:
- Imperva Skyfence
comment: |-
  Creating a schedule task that's call ImpSfRevokeUnaccessedDevices:
  Getting all devices data from server, if a device haven't been accessed to in over two months (and is still managed), the script will send the corresponding user a warning mail.
  If it's haven't been accessed to in over three months, the script will revoke the device credentials and notify the user by mail.
system: true
args:
- name: cron
  required: true
  default: true
  description: The interval between each check (in cron format).
- name: times
  description: Number of times to execute the check.
scripttarget: 0
dependson:
  must:
  - scheduleEntry
  - ImpSfRevokeUnaccessedDevices
timeout: 0s
fromversion: 5.0.0
dockerimage: demisto/python3:3.12.13.10116658
tests:
- No tests (auto formatted)
marketplaces:
- xsoar