Azure Environment Validation
ID: azure-env
Severity: info
Author: princechaddha
Tags: cloud,devops,microsoft,azure,azure-cloud-config
Description
Section titled “Description”Checks if Azure CLI is set up and all necessary tools are installed on the environment.
YAML Source
Section titled “YAML Source”id: azure-envinfo: name: Azure Environment Validation author: princechaddha severity: info description: | Checks if Azure CLI is set up and all necessary tools are installed on the environment. reference: - https://portal.azure.com/ metadata: max-request: 2 tags: cloud,devops,microsoft,azure,azure-cloud-config
self-contained: truecode: - engine: - sh - bash source: | az account show
matchers: - type: word words: - '"homeTenantId":'
extractors: - type: json name: environmentname json: - '.environmentName' internal: true
- type: dsl dsl: - '"Azure CLI is properly configured for environment \"" + environmentname + "\"."'# digest: 490a0046304402207bf332a0f7de6876768c2772dcac7c909873dd60a265c517ee8927b9c62f652902200f13766da38ea080f0bc1efadf056b760b3fe1b654e6244ac8a811f508471bc0:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "cloud/azure/azure-env.yaml"