IF Commons GitHub

governance/techniques

Written to: 1 requirement: 1 proved, 0 partly, 0 failing, 0 with no test recorded. 0002-pentest-engagement FR-001

The techniques of a security test, in the classes an authorization can grant or withhold. What each class means is the line between reading what the estate already says and sending something to a target: passive sends nothing, probe sends what a normal client sends, scan sends many requests to find what is there, exploit uses a weakness. Three classes are never granted by any engagement: denial of service, social engineering and physical intrusion.

import { techniqueById } from "./techniques.ts";
techniqueById("denial")?.never; // true

Source: commons/pentest/src/governance/techniques.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.Techniquetypeno test imports it
type Technique = { readonly id: string; readonly summary: string; readonly reaches: boolean; readonly never: boolean };

A class of technique.

governance.TECHNIQUESconstno test imports it
const TECHNIQUES: readonly Technique[]

The classes of technique, from the least to the most.

governance.techniqueByIdfunctionno test imports it
function techniqueById(id: string): Technique | undefined

A technique by its identity.

Techniquetypeno test imports it
type Technique = { readonly id: string; readonly summary: string; readonly reaches: boolean; readonly never: boolean };

A class of technique.

TECHNIQUESconst
const TECHNIQUES: readonly Technique[]

The classes of technique, from the least to the most.

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

techniqueByIdfunction
function techniqueById(id: string): Technique | undefined

A technique by its identity.

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

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