Screenshot Machine

Uses screenshot machine to get a screenshot.

Utilities · Screenshot Machine

Details

IDScreenshot Machine
ProviderDevtica
CategoryUtilities
From Version6.0.0
Docker Imagedemisto/python3:3.12.8.3296088
Supported ModulesAgentix XSIAM

README

Uses screenshot machine to get a screenshot

Configure Screenshot Machine in Cortex

Parameter Required
Api Key True

Commands

You can execute these commands from the CLI, as part of an automation, or in a playbook.
After you successfully execute a command, a DBot message appears in the War Room with the command details.

screenshot


Retrieve screenshot

Base Command

screenshot-machine-get-screenshot

Input

Argument Name Description Required
url URL to screenshot. Required
device Capture as desktop, mobile, tablet. Possible values are: desktop, mobile, tablet. Default is desktop. Optional
dimension Dimensions to capture. Possible values are: 320x240, 800x600, 1024x768, 1920x1020, 1240xfull. Default is 1024xfull. Optional
cacheLimit Allows cached images (up to max lifetime of 1 day). Possible values are: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14. Default is 1. Optional
delay Delay before capturing image. Possible values are: 200, 400, 600, 800, 1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000. Default is 200. Optional
md5Secret leave secret phrase empty, if not needed. Optional

Context Output

There is no context output for this command.

Command Example

``````

Human Readable Output

Configuration parameters

  • apikey — Api Key (required)

Commands (1)

  • screenshot-machine-get-screenshot

    Retrieve screenshot

category: Utilities
provider: Devtica
commonfields:
  id: Screenshot Machine
  version: -1
configuration:
- display: Api Key
  name: apikey
  required: true
  type: 4
description: Uses screenshot machine to get a screenshot.
display: Screenshot Machine
name: Screenshot Machine
script:
  commands:
  - arguments:
    - description: URL to screenshot.
      name: url
      required: true
    - auto: PREDEFINED
      defaultValue: desktop
      description: Capture as desktop, mobile, tablet.
      name: device
      predefined:
      - desktop
      - mobile
      - tablet
    - auto: PREDEFINED
      defaultValue: 1024xfull
      description: Dimensions to capture.
      name: dimension
      predefined:
      - 320x240
      - 800x600
      - 1024x768
      - 1920x1020
      - 1240xfull
    - auto: PREDEFINED
      defaultValue: '1'
      description: Allows cached images (up to max lifetime of 1 day).
      name: cacheLimit
      predefined:
      - '0'
      - '1'
      - '2'
      - '3'
      - '4'
      - '5'
      - '6'
      - '7'
      - '8'
      - '9'
      - '10'
      - '11'
      - '12'
      - '13'
      - '14'
    - auto: PREDEFINED
      defaultValue: '200'
      description: Delay before capturing image.
      name: delay
      predefined:
      - '200'
      - '400'
      - '600'
      - '800'
      - '1000'
      - '2000'
      - '3000'
      - '4000'
      - '5000'
      - '6000'
      - '7000'
      - '8000'
      - '9000'
      - '10000'
    - description: Leave secret phrase empty, if not needed.
      name: md5Secret
    description: Retrieve screenshot
    name: screenshot-machine-get-screenshot
  dockerimage: demisto/python3:3.12.8.3296088
  runonce: false
  script: ''
  subtype: python3
  type: python
fromversion: 6.0.0
tests:
- No tests (auto formatted)