Hi there! We're thrilled that you'd like to contribute to this project. Your help is essential for keeping it great.
Contributions to this project are released to the public under the project's open source license.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
The best way to report a bug is to open an issue on GitHub. Please include as much information as possible, including:
- A clear description of the problem
- Steps to reproduce the problem
- The expected behavior
- The actual behavior
This will help us understand the issue and fix it more quickly.
If you have an idea for a new feature or enhancement, please open an issue on GitHub.
- Fork and clone the repository
- Create a new branch for your changes
- Make your changes
- Write tests for your changes (if applicable)
- Run the tests to make sure everything is working
- Commit your changes with a clear commit message
- Push your changes to your fork
- Open a pull request against the
mainbranch of the original repository
- Rust
- Cargo
- CodeQL (optional as the action will download it for you)
gh-codeqlis a great tool to help you with CodeQL CLI.
To run the action locally, you need to set up the following environment variables:
# DEBUG=1
GITHUB_REPOSITORY=advanced-security/codeql-extractor-action
INPUT_EXTRACTORS=advanced-security/codeql-extractor-iac@v0.5.0
INPUT_PACKS=advanced-security/iac-queries@0.5.0
INPUT_LANGUAGES=iacThese are the inputs to the action. You can modify them as needed.
To build the project, use the following command:
cargo build --releaseAnd to install it on the system, use:
cargo install --path .This means it can be run from anywhere using the command codeql-extractor-action.
To run the tests, use the following command:
cargo testTo run the linter, use the following command:
cargo clippy