||4 months ago|
|examples||4 months ago|
|src/hardening_importer||4 months ago|
|tests||4 months ago|
|.gitignore||4 months ago|
|.gitlab-ci.yml||4 months ago|
|LICENSE||5 months ago|
|README.md||4 months ago|
|setup.cfg||4 months ago|
|setup.py||5 months ago|
|tox.ini||4 months ago|
Ingest Iron Bank hardening manifests, produce a build environment.
You must configure a GitLab personal access token to use HTTP basic auth. Please see the user profile page for creating these tokens here. You will be required to input this token to authenticate.
# When prompted for your username, enter `__token__` # When prompted for your password, enter your personal GitLab access token pip3 install --user hardening-importer --extra-index-url https://gitlab.jharmison.com/api/v4/projects/4/packages/pypi/simple hardening import .
Parses the hardening_manifest.yaml file located in the provided directory and downloads the files listed in the
resources list. Validate their sums, as listed. Generates a commandline to use with Kaniko for building the image listed and outputting it to stdout. This can be integrated with GitLab by following their instructions for using Kaniko in your image builds, accessible here
You can run
hardening import --help to get more detailed usage instructions.