Skip to content

test: cover Navigator layer comparison - #831

Draft
scotluns wants to merge 1 commit into
developfrom
test/navigator-layer-comparison
Draft

scotluns wants to merge 1 commit into
developfrom
test/navigator-layer-comparison

Conversation

@scotluns

Copy link
Copy Markdown
Contributor

Why

Extend the new Playwright foundation with Navigator's demonstrated threat-intelligence workflow: compare two groups by combining scored layers and identify their shared techniques.

What Changed

  • Add a browser journey that creates APT3 and APT29 layers, selects each group's techniques, scores them 1 and 2, and combines the layers with a+b.
  • Use a small synthetic overlap so the resulting scores 1, 2, and 3 are predictable without relying on changing ATT&CK group mappings.
  • Check the resulting layer name, technique scores, high-end gradient color, and browser errors.

How To Verify

From the repository root:

docker build -f nav-app/e2e/Dockerfile -t attack-navigator-e2e:local .
docker run --rm --init attack-navigator-e2e:local

The production build and full E2E suite passed locally in Docker (2/2 tests).

Replay the documented APT3 and APT29 comparison workflow with deterministic synthetic ATT&CK data. Verify group selection, score arithmetic, and the rendered overlap.
@sonarqubecloud

Copy link
Copy Markdown

This branch has not been deployed

No deployments
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.

1 participant