IF Commons GitHub

logical/connectors

Written to: 4 requirements: 4 proved, 0 partly, 0 failing, 0 with no test recorded. 0002-identity-connectors FR-001, 0002-identity-connectors FR-004, 0002-identity-connectors FR-005, 0002-identity-connectors FR-006

The three connectors (0002-identity-connectors FR-001, FR-004 to FR-006), each a function of the answers a read port gives, so none can write and none reaches a network. What each keeps is counts, and the identity of an administrator where the policy is about administrators; a user who is not an administrator is never kept by name, a device by its name only as the asset it is, and no serial number, address, phone number or email address of a device or a user is kept. A part the credential may not read is a gap, never a silent pass; a system that cannot be reached at all is an error.

import { entraConnector } from "./connectors.ts";
entraConnector("contoso.example").kind; // "ok"

Source: commons/integrations-identity/src/logical/connectors.ts

3 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.

logical.entraConnectorfunctionno test imports it
function entraConnector(tenant: string): Result<Connector, GovernanceError | DefinitionError>

The connector of a Microsoft Entra tenant: users without multifactor authentication, administrators without it, and whether an enabled conditional access policy requires it.

logical.intuneConnectorfunctionno test imports it
function intuneConnector(tenant: string): Result<Connector, GovernanceError | DefinitionError>

The connector of Microsoft Intune's managed devices: devices that are not encrypted, not compliant, or have not checked in for 30 days.

logical.googleWorkspaceConnectorfunctionno test imports it
function googleWorkspaceConnector(domain: string): Result<Connector, GovernanceError | DefinitionError>

The connector of a Google Workspace domain: users and administrators not enrolled in two-step verification.

entraConnectorfunction
function entraConnector(tenant: string): Result<Connector, GovernanceError | DefinitionError>

The connector of a Microsoft Entra tenant: users without multifactor authentication, administrators without it, and whether an enabled conditional access policy requires it.

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

intuneConnectorfunction
function intuneConnector(tenant: string): Result<Connector, GovernanceError | DefinitionError>

The connector of Microsoft Intune's managed devices: devices that are not encrypted, not compliant, or have not checked in for 30 days.

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

googleWorkspaceConnectorfunction
function googleWorkspaceConnector(domain: string): Result<Connector, GovernanceError | DefinitionError>

The connector of a Google Workspace domain: users and administrators not enrolled in two-step verification.

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

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