Skip to content

Commit

Permalink
faster pipeline testing
Browse files Browse the repository at this point in the history
  • Loading branch information
seanlongcc committed Jul 11, 2024
1 parent 88bb260 commit 8bb3fed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,15 @@ jobs:
- name: Clone Repository
uses: actions/checkout@v4

- name: Move Certificates and Input file
- name: Move Certificates and Input files
shell: bash
run: |
echo "${{ env.CA_FILE_BASE64_AA }}" > CA_FILE
echo "${{ env.CA_FILE_BASE64_AB }}" >> CA_FILE
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 "${{ env.ATTESTATION_FILE }}" > reports/attestation.json
- name: Run Packer Hardening
run: |
Expand All @@ -50,7 +51,6 @@ jobs:
- name: Run Packer Validation
run: |
echo "${{ env.ATTESTATION_FILE }}" > reports/attestation.json
packer build -var 'report={"report_to_heimdall":"${{ env.REPORT_TO_HEIMDALL }}","heimdall_url":"${{ env.HEIMDALL_URL }}","heimdall_api_key":"${{ env.HEIMDALL_API_KEY }}"}' -var 'attestation={"report_dir":"${{ env.REPORT_DIR }}","inspec_report_filename":"${{ env.INSPEC_REPORT_FILENAME }}","attestation_filename":"reports/attestation.json","attested_inspec_filename":"${{ env.ATTESTED_INSPEC_FILE_NAME }}"}' mongo-validate.pkr.hcl
docker ps -a
Expand Down
2 changes: 1 addition & 1 deletion spec/ansible/mongo-stig-hardening-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
- role: roles/prep
- role: mitre.mongo-stig
vars:
fips_mode: true
fips_mode: false
enterprise_edition: true
user: root

0 comments on commit 8bb3fed

Please sign in to comment.