Skip to content
RedAssayDocs
Browse the docs

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
  1. The model
  2. Which evidence counts
  3. Freshness windows
  4. Task states
  5. Policy states
  6. Control states
  7. Requirement states
  8. Operating history over a period
  9. Readiness
  10. Reason codes

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.

LayerWhat it isState comes from
Evidence sourceA task (recurring evidence) or a policy linked to a controlEvidence dates and the freshness window, a reviewer's rejection, the latest automated check result; policy approval, review and acknowledgement dates
ControlSomething your organization does, such as a quarterly access reviewIts linked tasks and policies, and whether it has an owner
RequirementOne clause or criterion of a frameworkThe controls mapped to it and each mapping's coverage
FrameworkAn adopted frameworkReadiness: 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).

FrequencyPeriodGraceExample: collected 15 January
Monthly1 calendar month7 daysFresh until 22 February
Quarterly3 calendar months14 daysFresh until 29 April
Yearly12 calendar months30 daysFresh 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.

StateWhenReason code
MissingNo evidence counts, and the task is younger than one freshness windowmissing_evidence
At risk or FailingNo 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
PassingThe latest evidence is inside its freshness windownone, or due once the period is over and only the grace days remain
At riskThe task is linked to a key control and the only evidence inside the window is a typed attestation, with no fileattestation_only
At riskThe window has expired, the task is not linked to a key control, and only one period has been missedoverdue
FailingThe window has expired and either the task is linked to a key control, or the following period's window has also passedoverdue

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 resultTask stateReason code
PassedAs the table above: Passing while the last successful run is inside the monthly windownone, due or overdue
FailedFailing, however fresh an earlier pass ischeck_failed, with the check's summary
Could not completeAt risk if it would otherwise be Passing; otherwise unchangedcheck_error
Timed outAt risk if it would otherwise be Passing; otherwise unchangedcheck_timeout
Denied by the providerAt risk if it would otherwise be Passing; otherwise unchangedcheck_denied
Nothing to evaluateNot applicable: the task is left out of its controls' calculationcheck_no_resources
Integration disconnected, or its connection no longer verifiesAt risk if it would otherwise be Passing; otherwise unchanged. A failed result stays Failing.check_disconnected or check_error

Policy states

StateWhenReason code
MissingThe policy has no approved, published versionmissing_evidence
PassingA published version exists and its review is not yet duenone, or self_approved
At riskThe review date has passed: approval date of the published version plus the policy's review frequency in monthsreview_overdue
At riskA required acknowledgement is overdue by 1 to 30 daysack_overdue
FailingA required acknowledgement is overdue by more than 30 daysack_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.

OrderStateWhenReason code
1Not applicableThe control is marked not applicablenone
2Not configuredNo task or policy is linkednot_configured
3FailingAny source is Failingthe sources' reasons
4Not startedEvery source is Missingthe sources' reasons
5At riskAny source is Missing or At riskthe sources' reasons
6PassingEvery source is Passingnone

Three caps apply after that. Each one turns a control that would be Passing into At risk, and none changes any other state.

Reason codeWhenWhy
partial_coverageEvery source is a task fed by an automated checkA cloud check tests one technical aspect, so the control also needs a manual task or a policy for the rest.
policy_onlyPolicies are linked but no task is, manual or automatedA published policy says what should happen. A task's evidence, or a passing check, is what shows it did.
no_ownerThe control has no ownerSomebody 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.

StateWhen
GapNo applicable control is mapped to the requirement. Reason gap_unmapped.
MetAny 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 metEvery 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 startedOtherwise: 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 pathRequirement state
At riskAt risk
Not started or Not configuredNot started
FailingNot 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 statusMeaning
CoveredLive evidence is dated in the period and was recorded by the end of the period plus its grace days.
LateEvidence 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 failedFor 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 rejectedThe only evidence dated in the period was later deleted or rejected by a reviewer.
MissedNo evidence is dated in the period and the period and its grace days are over.
OpenNo evidence yet, and the period or its grace days are still running.
Before taskThe 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.

CodeRaised byMeaning
missing_evidenceTask, policyNo evidence collected yet, or no approved and published policy version.
overdueTaskThe freshness window has expired, or a task that never had evidence is past its first window. The detail gives the due date.
dueTaskThe period is over and only the grace days remain. The task is still Passing; the detail gives the day the grace period ends.
attestation_onlyTaskThe task is on a key control and only a typed attestation is inside the window. A file is needed.
check_failedTaskThe latest automated check failed. The detail carries the check's summary.
check_errorTaskThe latest automated check could not complete, or the integration's connection no longer verifies.
check_timeoutTaskThe latest automated check timed out.
check_deniedTaskThe provider refused a read the check needs.
check_no_resourcesTaskThe check found nothing to evaluate, so the task is not applicable.
check_disconnectedTaskThe integration behind the check has been disconnected.
review_overduePolicyThe policy's periodic review date has passed.
self_approvedPolicyThe published version was approved by one of its own authors. Shown for the reader; the state does not change.
ack_overduePolicyAt least one obligated person is late accepting the policy. The detail gives the longest delay in days.
no_ownerControlThe control has no owner.
not_configuredControlNo task or policy is linked to the control.
partial_coverageControlOnly automated checks feed the control. Link a task or policy for the rest.
policy_onlyControlOnly policies are linked. Link a task or an automated check that shows the control operating.
gap_unmappedRequirementNo applicable control covers the requirement.
partial_onlyRequirementThe passing controls cover the requirement only in part. The state is Partially met.
full_not_applicableRequirementThe control that fully covers the requirement is marked not applicable, and the remaining controls cover it only in part. The state is Partially met.
exceptionRequirementThe requirement is Met, and this mapped control is failing. Followed by that control's own reasons.