TroubleshootTestInstance

Click the "Test" button and return if the test failed.

python · Troubleshoot

Details

IDTroubleshootTestInstance
Languagepython
From Version5.0.0
Docker Imagedemisto/python3:3.12.13.10116658
Tagstroubleshoot

README

Troubleshooting

Multi-tenant environments should be configured with the Cortex Rest API instance when using this
automation. Make sure the Use tenant parameter (in the Cortex Rest API integration) is checked
to ensure that API calls are made to the current tenant instead of the master tenant.

args:
- description: Instance parameters. Can be acquired from the GetInstanceParameter command.
  name: parameters
  required: true
- description: Keys to check the negative result of the Test button.
  name: keys
comment: Click the "Test" button and return if the test failed.
commonfields:
  id: TroubleshootTestInstance
  version: -1
name: TroubleshootTestInstance
outputs:
- contextPath: TroubleshootTestInstance.instance_name
  description: Name of the instance.
  type: String
- contextPath: TroubleshootTestInstance.Errors
  description: Errors after changing all the wanted keys.
  type: String
- contextPath: TroubleshootTestInstance.changed_keys
  description: Keys that changed in the test.
  type: String
- contextPath: TroubleshootTestInstance.succeed
  description: Whether the test passed.
  type: Boolean
script: '-'
tags:
- troubleshoot
timeout: '0'
type: python
subtype: python3
dockerimage: demisto/python3:3.12.13.10116658
fromversion: 5.0.0
dependson:
  must:
  - core-api-put
  - core-api-post
tests:
- No tests (auto formatted)