Skip to content

Commit a61ad67

Browse files
committed
docs: align README.md with AGENTS.md
1 parent 7610024 commit a61ad67

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,9 @@ OCI Factory's CI to notify the Maintainer when an event of interest occurs.
371371
- `.trivyignore`: this legacy vulnerability-filtering file is deprecated and
372372
must not be added for new filtering rules. Existing files remain temporarily
373373
supported because released image revisions may still depend on them. Use
374-
`upload[*].ignored-vulnerabilities` for new or modified rules.
374+
`upload[*].ignored-vulnerabilities` for new filtering rules. When migrating an
375+
affected build, copy every still-applicable rule because that build no longer
376+
uses `.trivyignore` once `ignored-vulnerabilities` is present.
375377

376378
#### Contacts
377379

@@ -430,9 +432,11 @@ upload:
430432
Existing `.trivyignore` files follow [Trivy's upstream
431433
syntax](<https://aquasecurity.github.io/trivy/v0.19.2/vulnerability/examples/filter/#by-vulnerability-ids>)
432434
and remain supported temporarily for released revisions. Do not add new files
433-
or rules; migrate changed rules to `ignored-vulnerabilities`. The reusable
434-
workflow's `trivyignore-path` input remains available as a deprecated
435-
compatibility interface.
435+
or rules. When migrating an affected build to `ignored-vulnerabilities`, copy
436+
every still-applicable rule, not only the changed rules. Once
437+
`ignored-vulnerabilities` is present, that build no longer uses `.trivyignore`.
438+
The reusable workflow's `trivyignore-path` input remains available as a
439+
deprecated compatibility interface.
436440

437441
## 📦 Reusable workflows
438442

0 commit comments

Comments
 (0)