Security posture

Security exception

<forma-security-exception>

Presents an explicit security exception, its scope, status, and governing evidence.

Authoring tag
<forma-security-exception>
Behavior owner
Aegis / application
Canonical source
patterns/security-exception.html

Purpose

A security exception record presents one approved (or requested, or expired) deviation from a security invariant: its stable ID, status, scope, approver, expiry and compensating controls, with links to the governing invariant and evidence. It makes the exception explicit and bounded so it cannot quietly become permanent. Tutela and the application own the exception lifecycle and whether an exception currently applies; Forma presents the record and never grants, renews or expires anything.

Use when

  • A posture is conditional on an exception and reviewers need to see its terms.
  • An exception has expired or is about to and must be visible as such.
  • Auditors need the approver, scope and compensating controls in one place with a stable ID.

Avoid when

  • You need to show the blocking effect of an expired exception among other blockers: use Security blockers and link here.
  • The record is an unknown effect rather than an approved deviation: use Security unknown.
  • The record is an invariant evaluation: use Security invariant result.
  • You need an approval workflow: approval actions belong to the application and Ordo, not to this presentation.

Behavior to know

  • An article with a small uppercase eyebrow, the stable ID as heading, and a description list of terms.
  • Status is a written term (Active, Requested, Expired), never a color alone.
  • Terms reflow in an auto-fit grid of at least 12rem columns, one column on phones.
  • The stable ID is also the article id, so other records can deep-link to it.

Basic example

The smallest correct markup: the canonical pattern from patterns/security-exception.html inside its public tag. Copy this first, then adapt labels, names and state.

Canonical

Minimal security exception

Rendered from the canonical pattern file.

Security exception

SEC-EXC-002

Status
Active
Approver
Security owner
Expires
Compensating control
Restricted capability and enhanced audit logging.
HTML · Minimal security exception Raw HTML for HTML · Minimal security exception
<forma-security-exception class="forma-component-tag">
<article class="forma-security-exception" id="SEC-EXC-002"><header><p>Security exception</p><h3>SEC-EXC-002</h3></header>
<dl><div><dt>Status</dt><dd>Active</dd></div><div><dt>Approver</dt><dd>Security owner</dd></div><div><dt>Expires</dt><dd><time datetime="2026-10-01">1 Oct 2026</time></dd></div><div><dt>Compensating control</dt><dd>Restricted capability and enhanced audit logging.</dd></div></dl></article>
</forma-security-exception>

Click or tap the code once to select all of it, then copy.

Examples

Scenario

Expired exception

An exception whose expiry has passed. Status says Expired in text, and the record links the invariant it deviated from so the reviewer can see what is now unprotected.

Static specimen. Its links point to placeholder destinations that do not exist on this site. Its controls are shown for their markup and appearance and cannot be operated here.

Security exception

SEC-EXC-001

Status
Expired
Invariant
SEC-INV-009
Scope
Legacy report export endpoint
Approver
Security owner
Expired
Compensating control
Endpoint limited to internal network; weekly access review.
HTML · Expired exception Raw HTML for HTML · Expired exception
<forma-security-exception class="forma-component-tag">
  <article class="forma-security-exception" id="security-exception-expired-SEC-EXC-001" aria-labelledby="security-exception-expired-title">
    <header><p>Security exception</p><h3 id="security-exception-expired-title">SEC-EXC-001</h3></header>
    <dl>
      <div><dt>Status</dt><dd>Expired</dd></div>
      <div><dt>Invariant</dt><dd><a href="#SEC-INV-009">SEC-INV-009</a></dd></div>
      <div><dt>Scope</dt><dd>Legacy report export endpoint</dd></div>
      <div><dt>Approver</dt><dd>Security owner</dd></div>
      <div><dt>Expired</dt><dd><time datetime="2026-09-15">15 Sep 2026</time></dd></div>
      <div><dt>Compensating control</dt><dd>Endpoint limited to internal network; weekly access review.</dd></div>
    </dl>
  </article>
</forma-security-exception>

Click or tap the code once to select all of it, then copy.

Scenario

Requested, not yet approved

A requested exception. The approver field states that approval is pending instead of being left blank, and the record does not imply the exception already applies.

Static specimen. Its links point to placeholder destinations that do not exist on this site. Its controls are shown for their markup and appearance and cannot be operated here.

Security exception

SEC-EXC-004

Status
Requested
Invariant
SEC-INV-014
Scope
Agent tool: bulk archive
Approver
Pending security owner review
Requested expiry
Evidence
SEC-EVD-042
HTML · Requested, not yet approved Raw HTML for HTML · Requested, not yet approved
<forma-security-exception class="forma-component-tag">
  <article class="forma-security-exception" id="security-exception-requested-SEC-EXC-004" aria-labelledby="security-exception-requested-title">
    <header><p>Security exception</p><h3 id="security-exception-requested-title">SEC-EXC-004</h3></header>
    <dl>
      <div><dt>Status</dt><dd>Requested</dd></div>
      <div><dt>Invariant</dt><dd><a href="#SEC-INV-014">SEC-INV-014</a></dd></div>
      <div><dt>Scope</dt><dd>Agent tool: bulk archive</dd></div>
      <div><dt>Approver</dt><dd>Pending security owner review</dd></div>
      <div><dt>Requested expiry</dt><dd><time datetime="2026-10-31">31 Oct 2026</time></dd></div>
      <div><dt>Evidence</dt><dd><a href="#SEC-EVD-042">SEC-EVD-042</a></dd></div>
    </dl>
  </article>
</forma-security-exception>

Click or tap the code once to select all of it, then copy.

Mobile

Each mobile example renders in its own document inside a real narrow viewport, so Forma's media and container queries run exactly as they would on a phone. Choose a width to compare.

Mobile example

Active exception on a phone

An active exception with a long compensating control at phone width.

Viewport width

Frames narrower than the selected width show the component at the width available.

What changes at narrow widths

  • The description list auto-fits columns of at least min(12rem, 100%), so at 320px every term/value pair stacks in one column.
  • Values wrap anywhere, so long control descriptions and IDs never cause horizontal scrolling.
  • The heading and eyebrow stay above the list; reading order is identical at every width.
  • Links inside values are inline text; keep one link per value so tap targets do not crowd.
HTML · Active exception on a phone Raw HTML for HTML · Active exception on a phone
<forma-security-exception class="forma-component-tag">
  <article class="forma-security-exception" id="security-exception-mobile-SEC-EXC-002" aria-labelledby="security-exception-mobile-title">
    <header><p>Security exception</p><h3 id="security-exception-mobile-title">SEC-EXC-002</h3></header>
    <dl>
      <div><dt>Status</dt><dd>Active</dd></div>
      <div><dt>Scope</dt><dd>File export for imported organizations</dd></div>
      <div><dt>Approver</dt><dd>Security owner</dd></div>
      <div><dt>Expires</dt><dd><time datetime="2026-10-01">1 Oct 2026</time></dd></div>
      <div><dt>Compensating control</dt><dd>Export restricted to administrators, with enhanced audit logging reviewed daily by the security on-call engineer.</dd></div>
    </dl>
  </article>
</forma-security-exception>

Click or tap the code once to select all of it, then copy.

Baseline

Mobile · 320px

The canonical pattern in a true 320px viewport, the minimum width every Forma component must support without page-level horizontal scrolling.

Viewport width

Frames narrower than the selected width show the component at the width available.

API and configuration

Forma components have no JavaScript API. Their public contract is the markup: native elements and attributes you write, and the CSS hooks below. The CSS hook table is generated from the built stylesheet, so it always matches the shipped implementation.

Native and ARIA attributes
AttributeOnValuesDefaultDescription
idarticlestable exception ID—Deep-link target. Use the stable Tutela ID (for example SEC-EXC-002) so links from postures and blockers resolve.
aria-labelledbyarticleid of the heading—Optional. Names the article by its exception ID.
datetimetimeISO 8601 date—Machine-readable expiry or requested expiry.
hrefastable record URL or #ID—Links to the governing invariant and evidence.
CSS hooks (derived from dist/all.css)
HookKindValues or defaultDescription
.forma-security-exceptionBlock class—Root article: bordered, padded primary surface. The header's paragraph is a small uppercase eyebrow; the description list is an auto-fit grid of at least 12rem columns with secondary-colored bold terms and values that wrap anywhere.
Keyboard interaction
KeysResult
Tab / Shift+TabMoves between links in the record.
EnterFollows the focused link.
Events
EventDescription
—No events.

Form behavior

Not a form control.

States

Security exception states
StateHow it is expressedPresentation
ActiveStatus term text ActiveThe exception currently applies within its scope until expiry.
RequestedStatus term text RequestedNot yet approved; must not be presented as applying.
ExpiredStatus term text ExpiredNo longer applies; typically also listed as a blocker.

Accessibility

Forma provides

  • Uses a description list so each term is announced with its value.
  • Keeps status in text; there is no color-only status treatment.
  • Reflows to one column at 320px.

Your application supplies

  • Always include status, scope, approver, expiry and compensating controls, stating explicitly when a value is pending.
  • Use the stable ID as the article id and heading.
  • Keep sensitive compensating-control details redacted for audiences that should not see them.
  • Do not add approve or renew buttons unless the application implements that legal transition.

Responsive behavior

  • The article has zero minimum inline size.
  • Terms auto-fit into columns of at least min(12rem, 100%), collapsing to one column on narrow screens.
  • Values wrap anywhere. No breakpoints are needed.

Motion

  • No animation: the record is static.

Usage guidance

Do

  • Show the expiry date even for active exceptions.
  • Link the invariant the exception deviates from.

Avoid

  • Omitting compensating controls because they are long.
  • Showing an expired exception without saying Expired.

Verification specimens

Generated fault-injection specimens expose content, spacing, color-cue, and reduced-effective-contrast risks. They screen presentation robustness as engineering screens without claiming human-subject validation.