...
Code Block |
---|
name: Data Theorem Terraform Scans
on:
push:
tags:
- '*'
jobs:
datatheorem-terraform-scan:
runs-on: ubuntu-latest
steps:
- env:
WEB_APPLICATION_ID: 14df3c48-ff3a-4324-b4a6-13d2904aa785
DATATHEOREM_WEB_SECURE_SCANS_API_KEY: ${{ secrets.DATATHEOREM_API_RESULT_API_KEY }}
run: |
curl -X POST 'https://api.securetheorem.com/apis/devops/v1/iac_scans' \
--header 'Content-Type: multipart/form-data' \
--header 'Authorization: APIKey $DATATHEOREM_API_RESULT_API_KEY' \
--form 'file=@"terraform_example_configuration:file.tf"' \
--form 'scan_type="TERRAFORM"'
|
...