Demisto Lock

Locking mechanism that prevents concurrent execution of different tasks.

Utilities · Cortex Lock

Configuration parameters

  • timeout — Default timeout (seconds) for wait on locks to be released (required)
  • polling_interval — Polling interval
  • sync — Sync integration cache

Commands (4)

  • demisto-lock-get

    Gets a specific lock. If the lock doesn't exist, it creates one. If the lock is already in use, the command waits until the lock is released or until timeout is reached. If timeout is reached and the lock hasn't been released, the command fails to get the lock.

  • demisto-lock-info

    Show information on locks.

  • demisto-lock-release

    Release a lock.

  • demisto-lock-release-all

    Release all locks.