Skip to content

Archive Tool Improvements#10

Merged
TotalDwarf03 merged 11 commits into
mainfrom
archive_tool_improvements
Jul 22, 2025
Merged

Archive Tool Improvements#10
TotalDwarf03 merged 11 commits into
mainfrom
archive_tool_improvements

Conversation

@TotalDwarf03

@TotalDwarf03 TotalDwarf03 commented Jul 15, 2025

Copy link
Copy Markdown
Contributor

Overview

This PR improves a few areas of the Archive Tool. Improvements include:

  • Allowing Markdown files to be used as exemption files.
  • Add manual archive instructions within the notification issue.
  • Allow the use of a config file within S3 to save the need for redeployment if the config changes.
  • Logging Improvements.
  • MkDocs setup + FAQs

Testing + Documentation

  • Automated Tests have been updated.
  • Documentation has been created.

How to Test

Cloud Configuration

  1. Follow the instructions in the README to run the tool outside of a container.
  2. Set show_log_locally to true.
  3. In config/config.json, toggle use_local_config.

When using the cloud configuration, a debug.log file shouldn't get created. When using the local configuration, debug.log should get created.

MkDocs

  • Follow the documentation section of the README to serve MkDocs locally.
  • Check for typos etc.

@TotalDwarf03 TotalDwarf03 self-assigned this Jul 15, 2025
@TotalDwarf03 TotalDwarf03 added the enhancement New feature or request label Jul 15, 2025
@github-actions

github-actions Bot commented Jul 15, 2025

Copy link
Copy Markdown
Contributor

🦙 MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
⚠️ BASH bash-exec 4 2 0.03s
✅ BASH shellcheck 4 0 0.1s
✅ BASH shfmt 4 0 0.01s
✅ DOCKERFILE hadolint 1 0 0.07s
✅ JSON jsonlint 1 0 0.23s
✅ JSON prettier 1 0 0.47s
✅ JSON v8r 1 0 2.22s
✅ MARKDOWN markdownlint 11 0 0.78s
✅ MARKDOWN markdown-table-formatter 11 0 0.36s
✅ REPOSITORY checkov yes no 19.77s
✅ REPOSITORY dustilock yes no 0.0s
✅ REPOSITORY gitleaks yes no 3.42s
✅ REPOSITORY grype yes no 20.9s
✅ REPOSITORY kics yes no 41.05s
✅ REPOSITORY secretlint yes no 0.84s
✅ REPOSITORY syft yes no 2.79s
✅ REPOSITORY trivy yes no 16.52s
✅ REPOSITORY trivy-sbom yes no 0.2s
✅ TERRAFORM terraform-fmt 6 0 0.54s
✅ YAML prettier 8 0 0.83s
✅ YAML v8r 8 0 8.94s
✅ YAML yamllint 8 0 0.51s

See detailed report in MegaLinter reports

You could have the same capabilities but better runtime performances if you use a MegaLinter flavor:

MegaLinter is graciously provided by OX Security

@TotalDwarf03 TotalDwarf03 marked this pull request as ready for review July 18, 2025 08:42
@TotalDwarf03 TotalDwarf03 requested a review from a team July 18, 2025 08:42

@sebtheo sebtheo left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment on lines +17 to +31
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material
- run: pip install poetry

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you install poetry directly instead of Pip aswell

@TotalDwarf03 TotalDwarf03 merged commit 3b465b5 into main Jul 22, 2025
5 checks passed
@TotalDwarf03 TotalDwarf03 deleted the archive_tool_improvements branch July 22, 2025 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants