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

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

README

Gets all of a devices data from the server. If a device hasen’t been accessed in two months or more (and is still managed), the script will send the corresponding user a warning mail.
If the device hasn’t been accessed to 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.

  • ImpSfSetEndpointStatus
  • ImpSfListEndpoints

Inputs


There are no inputs for this script.

Outputs


There are no outputs for this script.

commonfields:
  id: ImpSfRevokeUnaccessedDevices
  version: -1
name: ImpSfRevokeUnaccessedDevices
script: ''
type: python
subtype: python2
tags:
- Imperva Skyfence
comment: "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.\nIf 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
scripttarget: 0
dependson:
  must:
  - ImpSfSetEndpointStatus
  - ImpSfListEndpoints
timeout: 0s
tests:
- No test - old script
fromversion: 5.0.0
dockerimage: demisto/python3:3.12.13.10116658
marketplaces:
- xsoar