Skip to content

Commit

Permalink
use jq
Browse files Browse the repository at this point in the history
  • Loading branch information
seanlongcc committed Jul 11, 2024
1 parent 615c4cb commit 0e8ff7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:

REPORT_DIR: reports
INSPEC_REPORT_FILENAME: inspec_results.json
ATTESTATION_FILE: ${{ vars.ATTESTATION_FILE}}
ATTESTED_INSPEC_FILE_NAME: inspec_results.json

CA_FILE_BASE64_AA: ${{ secrets.CA_FILE_BASE64_AA }}
Expand All @@ -41,7 +42,7 @@ jobs:
base64 --decode CA_FILE > certificates/dod_CAs.pem
echo "${{ env.CERTIFICATE_KEY_FILE }}" > certificates/mongodb.pem
echo "${{ env.INSPEC_INPUTS }}" > spec/mongo-inspec-profile/inputs.yml
echo "${{ vars.ATTESTATION_FILE }}" > reports/attestation.json
echo '${{ env.ATTESTATION_FILE }}' | jq . > reports/attestation.json
ls reports
cat reports/attestation.json
Expand Down

0 comments on commit 0e8ff7e

Please sign in to comment.