Skip to content

Commit

Permalink
updated read me and inspec.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
seanlongcc committed May 29, 2024
1 parent aeefdba commit f2c0a42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,13 @@ A workflow for hardening a MongoDB container against a STIG using Packer and Ans
- Remove the `--controls` flag to run all inspec checks at once.

```
inspec exec spec/mongo-inspec-profile/ -t docker://mongo-hardened --controls=SV-252134 --input-file=spec/mongo-inspec-profile/inputs.yml
inspec exec spec/mongo-inspec-profile/ -t docker://mongo-hardened --controls=SV-252134 --no-create-lockfile --input-file=spec/mongo-inspec-profile/inputs.yml
```

- To get into the inspec shell for deeper testing

```
inspec shell -t docker://mongo-hardened --depends=spec/mongo-inspec-profile/ --input-file=spec/mongo-inspec-profile/inputs.yml
inspec shell -t docker://mongo-hardened --depends=spec/mongo-inspec-profile/ --no-create-lockfile --input-file=spec/mongo-inspec-profile/inputs.yml
```

---
1 change: 1 addition & 0 deletions spec/mongo-inspec-profile/inspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ supports: []
depends:
- name: mongodb-enterprise-advanced-4-stig-baseline
git: https://github.com/mitre/mongodb-enterprise-advanced-4-stig-baseline.git
branch: main
inspec_version: null

inputs:
Expand Down

0 comments on commit f2c0a42

Please sign in to comment.