forked from ChelseaKR/gtfs-scorecard
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.semgrepignore
More file actions
35 lines (34 loc) · 1.57 KB
/
Copy path.semgrepignore
File metadata and controls
35 lines (34 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Paths excluded from the Semgrep SAST gate (security.yml). These are data,
# not code: the "API keys" Semgrep's secrets rules flag here are access keys
# that transit agencies publish inside their public GTFS/GTFS-RT feed URLs
# (sourced from the Mobility Database registry) — see .gitleaks.toml for the
# matching secret-scan allowlist. Hand-written source stays in scope.
#
# Waiver review (SEC-10): this exclusion list expires 2026-10-17 and is
# reviewed quarterly. At each review, re-run semgrep over the excluded paths,
# drop any entry that no longer flags, and renew the expiry date in this
# comment. A lapsed date here is itself a review finding.
# Last reviewed: 2026-08-16.
#
# "Hand-written source stays in scope" was not true of web/ until 2026-08-16.
# A blanket `web/` excluded the ~6,600 lines of browser JavaScript in web/src/
# along with the generated pages, so the only hand-written code that runs in a
# member of the public's browser had no SAST coverage from any tool this repo
# runs. The exclusion is now the generated feed data itself, which is what the
# paragraph above actually describes. Note `!` un-ignore lines do NOT work
# here: semgrep skips the file anyway, so a broad pattern cannot be carved out
# and each generated tree has to be named.
registry/**/*.yaml
registry/**/*.yml
data/
web/agency/
web/api/
web/catalog.json
web/catalog.csv
web/dataset.json
web/dataset.csv
pipeline/tests/fixtures/
# Standard housekeeping (mirrors Semgrep's built-in default ignore list,
# which a repo-level .semgrepignore replaces rather than extends).
.git/
:include .gitignore