Skip to main content

InferWhetherServiceIsDev

This Script is part of the Cortex Attack Surface Management Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.5.0 and later.

Identify whether the service is a "development" server. Development servers have no external users and run no production workflows. These servers might be named "dev", but they might also be named "qa", "pre-production", "user acceptance testing", or use other non-production terms. This automation uses both public data visible to anyone (active_classifications as derived by Xpanse ASM) as well as checking internal data for AI-learned indicators of development systems (asm_tags as derived from integrations with non-public systems).

Script Data#


NameDescription
Script Typepython3
Cortex XSOAR Version6.5.0

Used In#


This script is used in the following playbooks and scripts.

  • Cortex ASM - Enrichment

Inputs#


Argument NameDescription
asm_tagsArray of key-value objects. Each object within the array must contain the keys "Key" and "Value" to be considered. The values associated with those keys can be arbitrary. Example: [{"Key": "env", "Value": "dev"}, {"Key": "Name", "Value": "ssh-ec2-machine-name"}].
active_classificationsArray of strings representing the Xpanse ASM "active classifications" for the service. Example: ["RdpServer", "SelfSignedCertificate"].
hierarchy_infoInfrastructure hierarchy information to include CSPs (such GCP folder, AWS account and Azure subscription names, which can indicate the environment is dev).
providerProvider of the asset as returned by Xpanse.

Outputs#


There are no outputs for this script.