Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 24 lines (19 sloc) 809 Bytes
#!/usr/bin/env bash
# Scans a CloudFormation template file
# Requires "jq" ( to be installed
# Cloud Conformity API Key
api_key="Your Cloud Conformity API Key"
# Path to CloudFormation template file Yaml or JSON file
file_path="Path to CloudFormation template"
# Region in which Cloud Conformity serves your organisation
contents=$(cat ${file_path} | jq '.' -MRs)
echo Request:
echo ${payload} | jq '.' -M
echo Response:
curl -s -X POST \
-H "Authorization: ApiKey ${api_key}" \
-H "Content-Type: application/vnd.api+json" \
https://${region} \
--data-binary "${payload}" | jq '.' -M
You can’t perform that action at this time.