The state model in Vulnerability Response lets you see the status of a remediation task at any given time. A vulnerable item can sit in a different state than its remediation task, and that gap is the first thing to check. In Security Posture Control, changing a policy also moves the states of its findings and their remediation tasks.
How remediation task states and vulnerable item states relate
The state flow in Vulnerability Response shows how remediation task states connect to one another. Read it before you move a task, because a change that looks small can leave the vulnerable item in a state you did not intend. For how a vulnerable item moves through its lifecycle, see vulnerable item lifecycle.
Checking the task and the item side by side
Open the vulnerable item and its remediation task in separate tabs, and record both states before you change either record. Changing the task first makes the item harder to read against its starting point.
- Note the state of the vulnerable item and the state of the remediation task.
- Check whether the item belongs to more than one remediation task. When the item’s own state has not been set, it takes the state of the task with the highest precedence, so a mismatch on that item can be expected.
- Read the age of the item next to its state. The application displays vulnerable item age with more detail, which matters when you set a target date for the fix.
If the task itself looks wrong, check the remediation rules that generated it, starting with the remediation rules and exceptions page.
Three fields that describe a closed finding
In Security Posture Control, a finding is a configuration test record. When a policy changes, three fields tell you what happened to the finding: Result, State and Resolution. Read them together, because the combination shows which policy action closed the finding.
Result keeps the test outcome, either Valid (Passed) or invalid (Failed), and the policy action decides whether the original value survives. State shows where the finding sits in its lifecycle, and the policy transitions set it to Closed. Resolution records the reason for the closure, and the value is Stale or Result Invalid depending on the action.
What a policy change does to findings in Security Posture Control
With some exceptions, states transition between findings and their remediation tasks in Security Posture Control the same way they transition in Configuration Compliance. Policy changes are where that pattern departs from the Configuration Compliance behavior, and the three actions below show how.
Deactivating a policy
Deactivating a policy keeps the Result on existing findings unchanged. The State moves to Closed, and the Resolution is set to Stale.
Editing a policy and publishing a new version
Editing a policy gives you a choice for the existing findings, and the two options produce different results. Settle the choice before you publish the new version.
- Edited with the option to close any existing findings selected: Result retains its original value, State moves to Closed and Resolution is set to Result Invalid.
- Edited with the option to retain any existing findings selected: Valid (Passed) test cases retain their original values. Invalid test cases (Failed) are closed, with State set to Closed and Resolution set to Result Invalid.
Deleting a policy
Deleting a policy keeps the Results on existing findings unchanged, moves the State to Closed and sets the Resolution to Result Invalid. Review the findings a policy drives before you delete it, because the closure applies to the existing records.
Retired assets and the next policy evaluation
Policy audits do not evaluate retired assets against activated policies. When an asset moves from Retired back to Active, it is included in the next policy evaluation. The next policy evaluation can therefore add findings for assets that were not in the count before.
Configuration Compliance transitions to compare against
When a Security Posture Control finding looks wrong, compare it with the matching Configuration Compliance transition. The first value in each pair is the remediation task state, and the test results follow the state beside it.
- Open with Under Investigation, and Open with In Review: the task and its test results move together in both directions.
- Open with Deferred and any Resolution reason: the test results move to Deferred and keep the same Resolution reason as the task. If the task moves from Deferred back to Open, the test results remain Deferred.
- Open with Resolved/Fixed: the task and its test results move between Open and Resolved in both directions.
- Closed/Fixed: the task can return to Open, and its test results go back from Resolved to Open.
- Resolved/Cancelled: the task and its test results move in both directions.
- Closed automatically: the test results can transition back to Open.
- Closed/Result Invalid: the task and its test results cannot be reopened.
Terminology from Configuration Compliance v14.9
From v14.9 of Configuration Compliance, Test Result Group became Remediation Task, Group Rules became Remediation Task Rules and Policy became Test group. Older notes and exports may use the earlier terms, so map them before you compare states.
Planning a policy edit so finding states stay traceable
A policy edit changes existing findings in one step, so the planning carries more weight than the publish click. Work through these steps before you publish.
- List the findings and remediation tasks the policy drives. Record their States and Resolutions so you can compare them after the change.
- Pick the edit option deliberately. The close option closes existing findings, while the retain option keeps valid passed test cases and closes failed ones.
- Check retired assets. An asset that moves back to Active joins the next policy evaluation, which can add findings to the count you expect.
- Decide who handles remediation tasks that stay open after the edit, and write that down. If ownership needs to change, see how to remove assignments from vulnerable items and remediation tasks.
- Publish the new version, then review the findings that moved to Closed and the remediation tasks attached to them.
For help planning this work, see ServiceNow implementation.
Checks to run after a state change
Run these checks once the policy change is published and the findings have updated.
- Compare each vulnerable item state with its remediation task, and allow for multi-task membership before you treat a mismatch as a fault.
- Where a vulnerable item’s source status is Fixed after a scan or import, a group state change closes the item as Closed/Fixed whatever the other groups show.
- Confirm each closed finding carries the Resolution its action should set: Stale after a deactivation, and Result Invalid after an edit that closed findings or a deletion.
- For deactivations, edits with the close option and deletions, confirm that the Result still shows the value from before the change.
- Confirm that no closed task was reopened where its state does not allow it. A task closed as Result Invalid cannot be reopened.
- Review the remediation task rules if a task appears that you did not expect.
For a working view of open remediation tasks across items, see the IT remediation workspace.
Questions about reopening, resolutions and approval workflows
Can a finding closed by a policy change be reopened?
The policy transition tables show no path back to Open for a finding closed by a deactivation, edit or deletion. Do not plan around a reopen, and do not tell owners that a closed finding will return to the queue without checking it first.
Can I still choose Result Invalid when I close a remediation task by hand?
Not from v14.12 onward. The Result invalid option was removed from the Resolution field in the Close modal in Configuration Compliance, so it does not appear as a choice there. Policy actions still set Result Invalid on the findings they close, which is why it can appear on findings that nobody closed by hand.
Which approval workflow handles state changes now?
In Configuration Compliance, the Remediation Task State Approval workflow is deprecated from v14.12 and replaced by a flow of the same name in the flow designer. In Vulnerability Response, the Vulnerable Item State Approval workflow is deprecated from v23.0 and replaced by the flow Vulnerability State Approval Change. Use the flow name that the flow designer shows before you build a state change on top of an older workflow name.
Do the policy transition tables differ between releases?
The policy transition tables read the same in the Zurich, Australia and Brazil releases. Later releases can still change them, so check the release on your own instance before you plan a policy change around the tables.