IF Commons GitHub

governance/passive

Written to: 2 requirements: 2 proved, 0 partly, 0 failing, 0 with no test recorded. 0003-pentest-passive FR-001, 0003-pentest-passive FR-002

The passive checks: questions asked of the estate that find weaknesses without sending anything to a target. Each is one statement of SQL over the relations of the estate (the endpoints, the attributes, the links and the services, and the day now) that selects what is wrong, an empty answer passing, with the controls of NIST SP 800-53 it is evidence for. They need no engagement, because they read only what the estate already holds; what they say is as good as what the estate holds, and a check about endpoints says nothing of a service nobody described.

import { PASSIVE_CHECKS } from "./passive.ts";
PASSIVE_CHECKS.map((c) => c.id)[0]; // "no-cleartext-endpoint-is-open-to-the-internet"

Source: commons/pentest/src/governance/passive.ts

2 of 6 exports are imported by a test of the run. A test that imports an export may not call it or check what it returns.

governance.PassiveChecktypeno test imports it
type PassiveCheck = { readonly id: string; readonly ask: string; readonly sql: string; readonly controls: readonly string[] };

A check, in the shape the tenant keeps: the same as the saved checks of the estate's questions.

governance.PASSIVE_CHECKSconstno test imports it
const PASSIVE_CHECKS: readonly PassiveCheck[]

The passive checks.

governance.passiveCheckByIdfunctionno test imports it
function passiveCheckById(id: string): PassiveCheck | undefined

A check by its identity.

PassiveChecktypeno test imports it
type PassiveCheck = { readonly id: string; readonly ask: string; readonly sql: string; readonly controls: readonly string[] };

A check, in the shape the tenant keeps: the same as the saved checks of the estate's questions.

PASSIVE_CHECKSconst
const PASSIVE_CHECKS: readonly PassiveCheck[]

The passive checks.

Imported by 2 tests of the run (2 passed, 0 failed): the library's results

passiveCheckByIdfunction
function passiveCheckById(id: string): PassiveCheck | undefined

A check by its identity.

Imported by 2 tests of the run (2 passed, 0 failed): the library's results

Titles, headings, exports, tables, columns and requirements. Esc closes.