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 DataName | Description |
---|---|
Script Type | python3 |
Cortex XSOAR Version | 6.5.0 |
#
Used InThis script is used in the following playbooks and scripts.
- Cortex ASM - Enrichment
#
InputsArgument Name | Description |
---|---|
asm_tags | Array 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_classifications | Array of strings representing the Xpanse ASM "active classifications" for the service. Example: ["RdpServer", "SelfSignedCertificate"]. |
hierarchy_info | Infrastructure hierarchy information to include CSPs (such GCP folder, AWS account and Azure subscription names, which can indicate the environment is dev). |
provider | Provider of the asset as returned by Xpanse. |
#
OutputsThere are no outputs for this script.