Using RedAssay / Compliance
Frameworks and readiness
How RedAssay works out every status, from one piece of evidence up to a framework's readiness percentage, and the reason codes it reports.
On this page
The model
Status flows upward through four layers. No status is typed in by a person: each one is worked out from dated evidence, approved policies and automated check results.
| Layer | What it is | State comes from |
|---|---|---|
| Evidence source | A task (recurring evidence) or a policy linked to a control | Evidence dates and the freshness window, a reviewer's rejection, the latest automated check result; policy approval, review and acknowledgement dates |
| Control | Something your organization does, such as a quarterly access review | Its linked tasks and policies, and whether it has an owner |
| Requirement | One clause or criterion of a framework | The controls mapped to it and each mapping's coverage |
| Framework | An adopted framework | Readiness: the share of its requirements that are Met with no exception |
States are computed when a page or API response is produced. RedAssay runs no nightly job and stores no status, so a window that expired a minute ago is already reflected, with no action from anyone.
Which evidence counts
- Deleted evidence does not count.
- Evidence a reviewer has rejected does not count. Evidence nobody has decided on counts, and so does accepted evidence: a decision is optional. See Reviewing evidence.
- An AI review never changes what counts. It is advice for the reviewer. See AI evidence review.
- For a task fed by an integration, only successful check runs count. Evidence added by hand to such a task is kept but ignored by the status.
Freshness windows
Each task has a frequency. Evidence stays fresh for one period plus a grace period, counted from the evidence's collected date (not the upload date).
| Frequency | Period | Grace | Example: collected 15 January |
|---|---|---|---|
| Monthly | 1 calendar month | 7 days | Fresh until 22 February |
| Quarterly | 3 calendar months | 14 days | Fresh until 29 April |
| Yearly | 12 calendar months | 30 days | Fresh until 14 February next year |
Months are calendar months, clamped to the last day of the target month: evidence collected on 31 January has a monthly period ending 28 or 29 February, then the grace days are added.
A task that has never had evidence uses the same window counted from the day the task was created.
Task states
A task takes the most recent collected date among the evidence that counts.
| State | When | Reason code |
|---|---|---|
| Missing | No evidence counts, and the task is younger than one freshness window | missing_evidence |
| At risk or Failing | No evidence has ever counted and one freshness window has passed since the task was created. Failing if the task is linked to a key control or two windows have passed. | missing_evidence, overdue |
| Passing | The latest evidence is inside its freshness window | none, or due once the period is over and only the grace days remain |
| At risk | The task is linked to a key control and the only evidence inside the window is a typed attestation, with no file | attestation_only |
| At risk | The window has expired, the task is not linked to a key control, and only one period has been missed | overdue |
| Failing | The window has expired and either the task is linked to a key control, or the following period's window has also passed | overdue |
A typed attestation is a statement, not an artefact an auditor can inspect. For a task on a key control it keeps the record of who checked what, but the task needs a file collected inside the window to be Passing. Tasks on other controls accept an attestation.
The overdue reason carries the date the evidence was due by. due is a reminder, not a downgrade: the task is still Passing and the detail gives the day the grace period ends. Deleting or rejecting the only fresh piece of evidence moves the task back to the state its remaining evidence supports.
Tasks fed by an automated check
A task created by an integration starts from the rules above, using the dates of its successful check runs as its evidence, and never needs a file. The latest result of the check is then applied on top:
| Latest check result | Task state | Reason code |
|---|---|---|
| Passed | As the table above: Passing while the last successful run is inside the monthly window | none, due or overdue |
| Failed | Failing, however fresh an earlier pass is | check_failed, with the check's summary |
| Could not complete | At risk if it would otherwise be Passing; otherwise unchanged | check_error |
| Timed out | At risk if it would otherwise be Passing; otherwise unchanged | check_timeout |
| Denied by the provider | At risk if it would otherwise be Passing; otherwise unchanged | check_denied |
| Nothing to evaluate | Not applicable: the task is left out of its controls' calculation | check_no_resources |
| Integration disconnected, or its connection no longer verifies | At risk if it would otherwise be Passing; otherwise unchanged. A failed result stays Failing. | check_disconnected or check_error |
Policy states
| State | When | Reason code |
|---|---|---|
| Missing | The policy has no approved, published version | missing_evidence |
| Passing | A published version exists and its review is not yet due | none, or self_approved |
| At risk | The review date has passed: approval date of the published version plus the policy's review frequency in months | review_overdue |
| At risk | A required acknowledgement is overdue by 1 to 30 days | ack_overdue |
| Failing | A required acknowledgement is overdue by more than 30 days | ack_overdue |
Acknowledgements apply only to policies marked required to sign. Each obligated person has 30 days to accept, counted from the later of the day the current major version was first published and the day they joined. See Policies.
self_approved is shown on a policy whose published version was approved by someone who wrote or edited it, which is only possible in an organization with a single owner or admin. It is a flag for the reader and never changes the state. See Approval and publishing.
An archived policy counts as not applicable and is ignored by the controls it is linked to.
Control states
A control combines its sources: the tasks and policies linked to it. Sources that are not applicable are ignored. The first matching rule wins.
| Order | State | When | Reason code |
|---|---|---|---|
| 1 | Not applicable | The control is marked not applicable | none |
| 2 | Not configured | No task or policy is linked | not_configured |
| 3 | Failing | Any source is Failing | the sources' reasons |
| 4 | Not started | Every source is Missing | the sources' reasons |
| 5 | At risk | Any source is Missing or At risk | the sources' reasons |
| 6 | Passing | Every source is Passing | none |
Three caps apply after that. Each one turns a control that would be Passing into At risk, and none changes any other state.
| Reason code | When | Why |
|---|---|---|
partial_coverage | Every source is a task fed by an automated check | A cloud check tests one technical aspect, so the control also needs a manual task or a policy for the rest. |
policy_only | Policies are linked but no task is, manual or automated | A published policy says what should happen. A task's evidence, or a passing check, is what shows it did. |
no_owner | The control has no owner | Somebody has to answer for it. The reason is added whatever the state; only a control that would be Passing is moved to At risk. |
policy_only has one exception: a library control for which the library defines no evidence task at all is a documentary control, and an approved, published policy is its whole evidence. Such a control can be Passing on policies alone. A control you created yourself is never documentary, so it always needs a task.
Requirement states
Controls are mapped to requirements with a coverage of full or partial. A full mapping means the control satisfies the requirement on its own. Partial mappings satisfy it only together.
| State | When |
|---|---|
| Gap | No applicable control is mapped to the requirement. Reason gap_unmapped. |
| Met | Any applicable control with full coverage is Passing. Or: the requirement has no control with full coverage, applicable or not, at least two controls have partial coverage, all of them are Passing, and none of the partial controls was marked not applicable. |
| Partially met | Every applicable partial control is Passing, but that is not enough. With reason partial_only: there is only one of them, a full-coverage control exists and is not Passing, or one of the partial controls was marked not applicable. With reason full_not_applicable: the control that fully covers the requirement was marked not applicable, which leaves only partial ones. Does not count toward readiness. |
| At risk, Not met or Not started | Otherwise: the best available path decides. |
When a requirement is not Met, RedAssay looks at each way it could be satisfied. Every full-coverage control is a path of its own; all partial-coverage controls together form one more path. A path is as bad as its worst control, and the requirement takes the least bad path:
| Worst control on the best path | Requirement state |
|---|---|
| At risk | At risk |
| Not started or Not configured | Not started |
| Failing | Not met |
The reasons shown on the requirement are the reasons of the controls on that best path, so the list tells you the shortest route to Met.
A failing control does not sink a requirement that another full-coverage control satisfies, but it does not disappear either: the requirement stays Met, is flagged Exceptions, and lists each failing control with reason exception followed by that control's own reasons. An auditor will treat those as exceptions to follow up, and a requirement Met with exceptions is left out of the readiness percentage.
Mappings of library controls carry the coverage the library gives them. A mapping on a control you created yourself is shown as Org-asserted and counts as partial coverage, whatever coverage was entered: it is your statement that the control addresses the requirement, not the library's. So one custom control cannot make a requirement Met by itself; two or more passing ones can, under the rule for partial controls above.
Marking a control not applicable never satisfies a requirement by itself. Marking a partial control not applicable does not make the remaining partial controls sufficient, and neither does marking the full-coverage control not applicable: the requirement is then Partially met at best, with full_not_applicable. If every mapped control is not applicable, the requirement becomes a Gap.
Operating history over a period
States answer whether a control is current today. An audit over a period (a SOC 2 Type II report, an ISO surveillance audit) also asks whether the control was performed in every period. The control page has an Operating history card for that: pick a window (the default is the last 12 months) and each linked task shows one cell per calendar month, quarter or year, in UTC.
| Period status | Meaning |
|---|---|
| Covered | Live evidence is dated in the period and was recorded by the end of the period plus its grace days. |
| Late | Evidence is dated in the period but was recorded after the grace days. Lateness uses the time the system stored the evidence, not the collected date someone typed. |
| Check failed | For a task fed by an integration: the automated check ran in the period and failed, and no run passed. A failed run stays visible on a covered period too. |
| Deleted or rejected | The only evidence dated in the period was later deleted or rejected by a reviewer. |
| Missed | No evidence is dated in the period and the period and its grace days are over. |
| Open | No evidence yet, and the period or its grace days are still running. |
| Before task | The period ended before the task was created. |
The history is read from the evidence record each time, so a missed period stays missed when later evidence arrives. Export CSV downloads one row per task and period; the same data is available from GET /api/v1/controls/{id}/coverage?from=YYYY-MM-DD&to=YYYY-MM-DD (add format=csv for the file).
Readiness
Readiness for a framework is the number of requirements that are Met with no exception, divided by all of its requirements and rounded to a whole percent. Requirements that are Partially met, At risk, Not met, Not started or a Gap all count against it.
A requirement that is Met with exceptions, meaning Met while one of its mapped controls is Failing, is not in the percentage either. It is counted separately and shown next to the figure, for example "41 of 60 requirements met, plus 2 met with exceptions that are not counted". The API returns both numbers for each framework as metClean (what the percentage counts) and metWithExceptions, next to counts.met, which is the two together.
Marking controls not applicable does not shrink the denominator: every requirement of the framework stays in the count, and one left with no applicable control is a Gap.
The framework page lists every requirement with its state, its reasons and the controls mapped to it. Filter by state to see only what stands between you and Met.
Reason codes
Every state is returned as { state, reasons }, where each reason has a code and a human-readable detail. The API returns the same reasons the UI shows.
| Code | Raised by | Meaning |
|---|---|---|
missing_evidence | Task, policy | No evidence collected yet, or no approved and published policy version. |
overdue | Task | The freshness window has expired, or a task that never had evidence is past its first window. The detail gives the due date. |
due | Task | The period is over and only the grace days remain. The task is still Passing; the detail gives the day the grace period ends. |
attestation_only | Task | The task is on a key control and only a typed attestation is inside the window. A file is needed. |
check_failed | Task | The latest automated check failed. The detail carries the check's summary. |
check_error | Task | The latest automated check could not complete, or the integration's connection no longer verifies. |
check_timeout | Task | The latest automated check timed out. |
check_denied | Task | The provider refused a read the check needs. |
check_no_resources | Task | The check found nothing to evaluate, so the task is not applicable. |
check_disconnected | Task | The integration behind the check has been disconnected. |
review_overdue | Policy | The policy's periodic review date has passed. |
self_approved | Policy | The published version was approved by one of its own authors. Shown for the reader; the state does not change. |
ack_overdue | Policy | At least one obligated person is late accepting the policy. The detail gives the longest delay in days. |
no_owner | Control | The control has no owner. |
not_configured | Control | No task or policy is linked to the control. |
partial_coverage | Control | Only automated checks feed the control. Link a task or policy for the rest. |
policy_only | Control | Only policies are linked. Link a task or an automated check that shows the control operating. |
gap_unmapped | Requirement | No applicable control covers the requirement. |
partial_only | Requirement | The passing controls cover the requirement only in part. The state is Partially met. |
full_not_applicable | Requirement | The control that fully covers the requirement is marked not applicable, and the remaining controls cover it only in part. The state is Partially met. |
exception | Requirement | The requirement is Met, and this mapped control is failing. Followed by that control's own reasons. |