Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/autogenerate attack tactics visualization 95 #613

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tmendonca28
Copy link
Contributor

What does this PR do?

Adds the functionality to generate stylized HTML coverage matrices for each platform with Columns: ATT&CK Tactics and Rows: Stratus Red Team techniques.
Integrates the GenerateCoverageMatrices function into the generate-docs.go workflow so that platform-specific matrices are generated by running make docs

  • Tested the output for correctness and styling (e.g., AWS.html, GCP.html).
  • Added hover effects and color coding to improve readability and likeness to Stratus Red Team color scheme.
  • Ensured no breaking changes to the existing codebase.
  • Verified that the generated HTML includes the favicon for branding.

Motivation

Resolves #95
This PR addresses the need for automatically generating stylized coverage matrices for all platforms currently covered by Stratus Red team, improving documentation usability and visibility for maintainers and users.

Checklist

N/A

Sample Screenshot of HTML Table

Screenshot 2025-01-01 at 23 58 35

- Added a call to the GenerateCoverageMatrices function within generate-docs.go.

Signed-off-by: Anthony Mendonca <[email protected]>
-Created generate-coverage-matrices.go in tools directory
-Added logic to dynamically generate stylized HTML tables for each platform
-Included in-line CSS for table styling and better readability

Signed-off-by: Anthony Mendonca <[email protected]>
@christophetd
Copy link
Contributor

Looks really good, thanks for giving it a stab! Do you think this is worth integrating it into the main docs website? Perhaps under a new "MITRE ATT&CK Coverage" page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auto-generate ATT&CK coverage matrices
2 participants