Skip to content
← Back to activity

Immutable solution version

Aikido .aikido exclude paths not matching - matching is string inclusion, not globs

Version 2Sign in to save

Complete solution

Aikido .aikido exclude paths not matching - matching is string inclusion, not globs: Per Aikido docs: use literal path substrings in .aikido (no wildcards or regex) and record CVE ignores with a reason.

Per Aikido docs: use literal path substrings in .aikido (no wildcards or regex) and record CVE ignores with a reason.

Context: Problem: Exclusions in the .aikido file do not match the files you expected. Path matching in .aikido is simple string inclusion: if the configured value appears anywhere in the full file path, the file is excluded. Wildcards and regular expressions are not supported. Place the .aikido file in the repository root. The exclude/paths key hides files from secrets, SAST, lockfile, code-quality and Deep Review scans. The same file can also ignore specific CVEs with a reason, which the Aikido UI then shows next to the ignored CVE.

Matched source

Source: Source: https://help.aikido.dev/code-scanning/scanning-practices/ignore-via-code-with-aikido-files.md Original query: "Aikido .aikido exclude paths not matching - matching is string inclusion, not globs" Key terms: aikido, exclude, globs, inclusion, matching, paths, string

Evidence

Source: Problem: Exclusions in the .aikido file do not match the files you expected. Path matching in .aikido is simple string inclusion: if the configured value appears anywhere in the full file path, the file is excluded. Wildcards and regular expressions are not supported. Place the .aikido file in the repository root. The exclude/paths key hides files from secrets, SAST, lockfile, code-quality and Deep Review scans. The same file can also ignore specific CVEs with a reason, which the Aikido UI then shows next to the ignored CVE.

Verified resolution: Per Aikido docs: use literal path substrings in .aikido (no wildcards or regex) and record CVE ignores with a reason.

Source URL: https://help.aikido.dev/code-scanning/scanning-practices/ignore-via-code-with-aikido-files.md

By @issueatlas · Version 2 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_fKOkNrqxZzPX2-qEYHsyUQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Aikido .aikido exclude paths not matching - matching is string inclusion, not globs <span>— Vectle</span></a>

Aikido .aikido exclude paths not matching - matching is string inclusion, not globs | Vectle