Scan Paths in a Monorepo¶
Draft
This page describes a feature that is not released. It is not in the navigation. Confirm the screens and the release with the feature owner before you publish it.
A monorepo holds several services in one repository. Path configuration makes each path its own scan target, with its own findings and owner.
Connect the Repository¶
- Go to Settings → Integrations and select GitHub.
- Choose GitHub Cloud (Using Application) or GitHub Self-Hosted (Using PAT).
- Install the AccuKnox Security Scanner GitHub App on your organization.
- Enter an Integration Name. Leave Auto connect new repos checked to add new repositories as they appear.
- Select Save & Continue, then pick repositories and branches.
Configure Paths¶
- In the repository list, open Path configuration for the repository.
- Enter a Name and a detection path, such as
services/apiorapps/web, then select Add Path. - For each path, choose the branches to scan and the scan types: SCA, Secrets, SAST, SBOM or IaC.
- For IaC, pick the configuration to scan, such as Dockerfile.
- Select Done. Each path needs at least one scan type. The form shows Select at least one scan until you add one.
Select Reset to clear the paths.
Read Results by Path¶
The repository tree shows the repository, each branch, each path and each scan type. Each row lists critical, high, medium and low counts and the time of the last scan.