Mark a finding "not affected"
A vulnerable component can be in your software bill of materials (SBOM) while the vulnerability cannot affect your product, for example because your code never calls the vulnerable function.
You record that assessment in .witnyx.yml, under notAffected.
Once a person approves the entry, the finding no longer counts for the failure rules, and the report keeps it as evidence under “Assessed as not affected”.
Only vulnerability findings can be assessed: actively exploited and other known vulnerabilities. End-of-life, quality and disclosure findings cannot.
Write the entry
Section titled “Write the entry”An approved entry, in a whole .witnyx.yml:
version: 1failOn: [exploited]notAffected: - id: CVE-2021-44228 component: pkg:maven/org.apache.logging.log4j/log4j-core justification: vulnerable_code_not_in_execute_path note: We never log user-controlled input. approvedOn: 2026-11-16 expires: 2027-05-16| Field | Required | What to write |
|---|---|---|
id |
Yes | The vulnerability ID that the report shows, such as a CVE ID, or one of its aliases. Letter case does not matter. |
component |
Yes | The component’s package URL. Without a version, as above, the entry covers every version of the package; with one, only that version. |
justification |
Yes | Why the product is not affected, as one of the five OpenVEX justifications below. |
note |
No | A short reason that a person can check. |
assessedBy |
No | Who made the assessment. An AI agent writes its own name here. |
approvedBy |
For the entry to count | The person who approved it, with an email address, such as Jane Doe <[email protected]>. |
approvedOn |
With approvedBy |
The day the person approved it, written YYYY-MM-DD. |
expires |
Yes | The day the assessment must be reviewed again: after approvedOn, and at most 12 months after it. |
The five justifications are component_not_present, vulnerable_code_not_present, vulnerable_code_not_in_execute_path, vulnerable_code_cannot_be_controlled_by_adversary and inline_mitigations_already_exist.
An entry applies to a finding when the IDs match, the finding’s own ID or one of its aliases, and the package matches. The first matching entry wins. Two entries with the same ID, in any letter case, and the same component are an error. The configuration file reference lists the fields with their types.
Why a person must approve
Section titled “Why a person must approve”Deciding that a vulnerability does not affect your product is a judgement that someone answers for. The entry records who assessed it, who approved it and until when, so that the report can serve as evidence of that decision.
So the rules for approval are strict:
approvedByis for people only. It must contain an email address. An AI agent never fills it in.approvedOnis required whenapprovedByis set, and must stay empty whileapprovedByis empty.expiresis required in every entry, approved or not. It must be afterapprovedOnand at most 12 months after it, so every assessment is reviewed at least once a year.- An
approvedOnin the future does not count yet: until that day the entry is pending, and the report says the approval date is in the future.
A file that breaks one of these rules stops the check with WX-CONFIG, and the message names the entry and the field, such as notAffected[0].approvedBy.
Pending entries
Section titled “Pending entries”An entry without approvedBy is pending human review:
version: 1notAffected: - id: CVE-2021-44228 component: pkg:maven/org.apache.logging.log4j/log4j-core justification: vulnerable_code_not_in_execute_path note: We never log user-controlled input. assessedBy: my-agent (agent) approvedBy: approvedOn: expires: 2027-05-16A pending entry changes nothing about the build: the finding still counts for failOn, and an actively exploited vulnerability still fails the build.
The report lists the entry under “Pending human review”, with who proposed it.
To approve it, a person reads the assessment and the note, fills in approvedBy with their name and email address and approvedOn with the day, checks that expires is at most 12 months after that day, and commits the file.
When an entry expires
Section titled “When an entry expires”From the day after expires, the finding is active again: it counts for failOn, and the report notes that the assessment expired.
The day is the date of the check in UTC.
Review the assessment again. If it still holds, a person approves it with a new approvedOn and expires; if it no longer holds, remove the entry and fix the finding.
How AI agents propose entries
Section titled “How AI agents propose entries”An agent may record an assessment only after the user agreed with it. It sets assessedBy to its own name and leaves approvedBy and approvedOn empty, so the entry is pending until a person approves it.
The first note in every report for an agent says the same; Use from an AI agent lists the notes.
The MCP server’s propose_not_affected tool writes such an entry, and nothing else:
- It writes a pending entry only. It has no argument for
approvedByorapprovedOnand refuses both. - Its
expiresmust be after today and at most 12 months away. - It refuses an entry with the same ID and component as an existing one.
- It writes only
.witnyx.ymlat the top of the repository, never through a symbolic link, and keeps the file’s comments. - When it cannot change the file safely, for example when the file has
notAffected: [], it writes nothing. Its error then holds the entry as YAML for a person to paste. - It returns the entry, a unified diff of the file, and a next action that asks the user to review the entry.
Connect the MCP server shows how to set up the server.
What the report shows
Section titled “What the report shows”Here is a text report with two assessments: an approved one for an actively exploited vulnerability, which no longer counts for the failure rules, and one pending human review. The check passes, and the report keeps both as evidence:
Witnyx release security check — my-app 2.4.1
[PASS] No actively exploited vulnerabilities, apart from 1 assessed as not affected
Assessed as not affected: 1 CVE-2021-44228 org.apache.logging.log4j:log4j-core 2.14.1: vulnerable_code_not_in_execute_path (approved by Jane Doe <[email protected]> on 2026-11-01; expires 2027-05-01)
Pending human review: 1 CVE-2020-8203 lodash 4.17.20: component_not_present (proposed by claude-code (agent); needs approvedBy from a person)
Checked 2026-11-14T09:12:03Z · 3 components (1 not checked: no package ID or version)Continuous monitoring and 24-hour reporting alerts → witnyx.dev- Text. An approved finding is listed under “Assessed as not affected”, with its justification, who approved it, on which day, and when the assessment expires. A pending one is listed under “Pending human review”, with who proposed it and that it needs
approvedByfrom a person. When the check passes, its headline counts the actively exploited vulnerabilities assessed as not affected. - Markdown. Both kinds are listed under “Assessed as not affected”, and each pending one is marked “pending human review”.
- JSON. The finding keeps its details. Its
statusisnot_affectedorpending_review, anddetails.assessmentholds the entry.summary.notAffectedandsummary.pendingReviewcount them. An expired assessment leaves the findingactive, with the expiry day indetails.assessmentExpired. - SARIF. An approved finding carries a suppression with the status
acceptedand the justification; a pending one carries a suppression with the statusunderReview.
Witnyx is a record-keeping and workflow tool. It does not certify compliance. Nothing on this site is legal advice.