Creating a `Patch Update`
Less than 1 minute
A patch update involves making minor changes to a profile to fix issues or improve functionality. Here's a step-by-step guide:
- Report the Issue: Open an issue on our project, detailing the problem and providing examples. Do this on our issues page.
 - Fork and Branch: Fork the repository on GitHub, then create a branch off the 
taggedpatch release you're targeting for the update. - Set Up Testing Suites: In your forked branch, set up the AWS and Docker testing suites.
 - Make Updates: Update the control, 
inspec.ymlinputs, thresholds, etc. Don't worry about the InSpec version in theinspec.yml- the release process handles that. - Test Your Updates Locally: Test your updates on all 
vanillaandhardenedvariants of theknown badandknown goodstates of theAWS EC2andDockertest targets. Also, test your controls outside perfect conditions to ensure they handle non-optimal target environments. Verify that your update considers thecontainer,virtual machine, and1U machinetesting context of applicability. - Lint Your Updates: Use the 
bundle exec rake lintandbundle exec rake lint:autocorrectcommands from the test suite to lint your updates. - Commit Your Updates: After testing and linting, commit your updates to your branch. Include 
Fixes #ISSUEin your commit messages to automatically close the issue when your PR is merged. - Open a PR: Open a PR on the project repository from your fork.
 - Check Test Suite: Ensure the GitHub Action test suite on the project side passes. You can check this at our actions page.