Dependicus API Reference
    Preparing search index...

    Interface CompliancePolicy

    A compliance policy defines how urgently a dependency should be updated.

    Policies are entirely user-defined — Dependicus does not ship any built-in policies. You provide them via BasicComplianceConfig.policies.

    A policy with thresholdDays enforces SLA-style compliance: if an update of a given type (major/minor/patch) has been available longer than the threshold, the dependency is marked non-compliant.

    A policy with notificationsOnly: true creates awareness tickets without enforcement. notificationRateLimitDays prevents ticket noise by spacing out notifications.

    interface CompliancePolicy {
        description?: string;
        name: string;
        notificationRateLimitDays?: number;
        notificationsOnly?: boolean;
        thresholdDays?: { major?: number; minor?: number; patch?: number };
    }
    Index

    Properties

    description?: string

    Optional description shown in ticket body and column tooltips.

    name: string

    Display name shown in tickets and on the site.

    notificationRateLimitDays?: number

    Minimum days between notification tickets for notificationsOnly policies.

    notificationsOnly?: boolean

    If true, tickets are informational (FYI) with no due date.

    thresholdDays?: { major?: number; minor?: number; patch?: number }

    Maximum days an update can be available before the dependency is non-compliant. Omit an update type to skip compliance checking for it (the column shows N/A).