...
Retrieve an API Key that has the permission “API Security Results API” enabled; API keys are available in the Data Theorem portal at API Key.
A terraform file scan can then be run using the following CURL command:
Code Block curl -X POST 'https://api.securetheorem.com/apis/devops/v1/iac_scans' \ --header 'Content-Type: multipart/form-data' \ --header 'Authorization: APIKey ABCACBA=' \ --form 'file=@"terraform_example_configuration:file.tf"' \ --form 'scan_type="TERRAFORM"'
...