{
  "nip_version": "0.1.0",
  "mode": "read-only evidence (no device changes, no payloads)",
  "change_id": "CHG-DEMO-0002",
  "project": "Demo-Payments-Wave-02",
  "author": "NIP synthetic fixture",
  "synthetic": true,
  "notice": "Synthetic sample. Not a real customer network.",
  "blast_radius_thresholds": {
    "max_epgs": 2,
    "max_vrfs": 1,
    "max_border_nodes": 1,
    "label": "demo values"
  },
  "inputs": {
    "intent_sha256": "1ac99f57d5eb3f18c8a5bcd6047aea7682b1633a9cba44fe7893846db6679faf",
    "fabric_sha256": "d7dfac87d6576708b29aed19148d4a0bbb025cca6a13bca34d41b487b34b206f",
    "fabric_objects": {
      "tenants": 1,
      "vrfs": 1,
      "bds": 5,
      "epgs": 5,
      "contracts": 3,
      "l3outs": 1
    }
  },
  "verdict": "BLOCKED",
  "counts": {
    "BLOCKER": 1,
    "CRITICAL": 2,
    "HIGH": 4,
    "MEDIUM": 2,
    "AUDIT": 1,
    "WARNING": 1,
    "INFO": 0
  },
  "rules": [
    {
      "id": "NIP-R001",
      "name": "BroadPolicyDetector",
      "description": "Permit with any protocol/port (ANY, 0, 0-65535) between tiers, in the proposal or in contracts it reuses.",
      "findings": 2
    },
    {
      "id": "NIP-R002",
      "name": "SubnetOverlapChecker",
      "description": "Proposed BD subnet overlaps an existing snapshot BD subnet or L3Out external subnet in the same tenant and VRF.",
      "findings": 1
    },
    {
      "id": "NIP-R003",
      "name": "RouteLeakValidator (basic)",
      "description": "Basic: advertised subnets outside authorized boundary CIDRs, default-route import, and existing public-scope BD subnets in the VRF outside the boundary. Does not model route maps, BGP policy or leaking between VRFs.",
      "findings": 3
    },
    {
      "id": "NIP-R004",
      "name": "IsolationViolationChecker",
      "description": "Isolated tiers connected by a proposed permit, an existing contract, or vzAny in their VRF.",
      "findings": 1
    },
    {
      "id": "NIP-R005",
      "name": "WaveDependencyValidator",
      "description": "Permit whose source EPG is migrated before its destination EPG (source wave < destination wave).",
      "findings": 2
    },
    {
      "id": "NIP-R006",
      "name": "BlastRadiusCalculator",
      "description": "Counts EPGs, VRFs and L3Out border nodes attached to the snapshot contracts this change touches (named contracts + contracts on changed EPGs), and flags shared-scope contracts.",
      "findings": 1
    },
    {
      "id": "NIP-D001",
      "name": "DriftCheck",
      "description": "Current snapshot vs intended design: BD on a different VRF, BD subnets differ, EPG on a different BD, VRF enforcement differs, and snapshot contracts between declared EPGs with no matching intent line.",
      "findings": 1
    }
  ],
  "findings": [
    {
      "rule_id": "NIP-R004",
      "rule_name": "IsolationViolationChecker",
      "severity": "BLOCKER",
      "title": "Proposal permits isolated pair EPG_Web <-> EPG_DB",
      "why": "The same change declares these tiers strictly isolated and permits traffic between them.",
      "evidence": [
        "intent:communication_intent[2]",
        "intent:isolation_rules[0]"
      ]
    },
    {
      "rule_id": "NIP-R002",
      "rule_name": "SubnetOverlapChecker",
      "severity": "CRITICAL",
      "title": "10.240.10.129/25 (BD BD_Batch) overlaps 10.240.10.1/24 on BD BD_Web",
      "why": "Both are in VRF Demo_Bank/VRF_Core; overlapping gateways in one VRF cause ambiguous forwarding and endpoint learning.",
      "evidence": [
        "intent:tenants[Demo_Bank].bridge_domains[BD_Batch].subnets[10.240.10.129/25]",
        "uni/tn-Demo_Bank/BD-BD_Web/subnet-[10.240.10.1/24]"
      ]
    },
    {
      "rule_id": "NIP-R003",
      "rule_name": "RouteLeakValidator (basic)",
      "severity": "CRITICAL",
      "title": "172.16.5.0/24 advertised outside authorized boundary",
      "why": "172.16.5.0/24 is not inside 10.240.10.0/24; advertising it exports internal space beyond the approved border.",
      "evidence": [
        "intent:external_connectivity[0].advertised_subnets[172.16.5.0/24]"
      ]
    },
    {
      "rule_id": "NIP-R001",
      "rule_name": "BroadPolicyDetector",
      "severity": "HIGH",
      "title": "Existing contract C_Mgmt_Legacy between EPG_Mgmt and EPG_Legacy permits any",
      "why": "The fabric already has a contract between these EPGs whose filter entries are unspecified (any ethertype/protocol/port); the proposed scoping is not what is enforced.",
      "evidence": [
        "uni/tn-Demo_Bank/brc-C_Mgmt_Legacy",
        "uni/tn-Demo_Bank/flt-flt_any/e-any"
      ]
    },
    {
      "rule_id": "NIP-R001",
      "rule_name": "BroadPolicyDetector",
      "severity": "HIGH",
      "title": "Proposed permit EPG_Web -> EPG_DB is not port-scoped",
      "why": "A permit with no protocol, protocol any/ip, or ports any/0/0-65535 opens every port of that protocol (or every protocol) between the tiers, not just the ones the application needs.",
      "evidence": [
        "intent:communication_intent[2] (EPG_Web -> EPG_DB)"
      ]
    },
    {
      "rule_id": "NIP-R003",
      "rule_name": "RouteLeakValidator (basic)",
      "severity": "HIGH",
      "title": "Default route 0.0.0.0/0 imported into VRF VRF_Core",
      "why": "Importing 0.0.0.0/0 attracts all unknown-destination traffic to this border; confirm it is the intended egress.",
      "evidence": [
        "intent:external_connectivity[0].imported_subnets[0.0.0.0/0]"
      ]
    },
    {
      "rule_id": "NIP-R003",
      "rule_name": "RouteLeakValidator (basic)",
      "severity": "HIGH",
      "title": "Existing BD BD_Legacy subnet 10.240.40.1/24 marked scope=public (eligible for advertisement) but outside boundary",
      "why": "scope=public makes the subnet eligible for advertisement via an L3Out and it is outside the authorized CIDRs. Actual advertisement is not proven: the BD-to-L3Out association (fvRsBDToOut) and route maps are not checked.",
      "evidence": [
        "intent:external_connectivity[0]",
        "uni/tn-Demo_Bank/BD-BD_Legacy/subnet-[10.240.40.1/24]"
      ]
    },
    {
      "rule_id": "NIP-R005",
      "rule_name": "WaveDependencyValidator",
      "severity": "MEDIUM",
      "title": "EPG_Web (wave 1) depends on EPG_App (wave 2)",
      "why": "EPG_Web moves first but needs EPG_App, which stays behind until wave 2; the interim path between old and new fabric must exist and be tested.",
      "evidence": [
        "intent:communication_intent[0]",
        "intent:migration_waves[wave=1]",
        "intent:migration_waves[wave=2]"
      ]
    },
    {
      "rule_id": "NIP-R005",
      "rule_name": "WaveDependencyValidator",
      "severity": "MEDIUM",
      "title": "EPG_Web (wave 1) depends on EPG_DB (wave 2)",
      "why": "EPG_Web moves first but needs EPG_DB, which stays behind until wave 2; the interim path between old and new fabric must exist and be tested.",
      "evidence": [
        "intent:communication_intent[2]",
        "intent:migration_waves[wave=1]",
        "intent:migration_waves[wave=2]"
      ]
    },
    {
      "rule_id": "NIP-R006",
      "rule_name": "BlastRadiusCalculator",
      "severity": "AUDIT",
      "title": "Blast radius: 5 EPGs, 1 VRFs, 2 border nodes, 0 shared contracts",
      "why": "Exceeds thresholds (EPGs, border nodes); escalate to CAB with this list.",
      "evidence": [
        "topology/pod-1/node-101",
        "topology/pod-1/node-102",
        "uni/tn-Demo_Bank/ap-AP_Payments/epg-EPG_App",
        "uni/tn-Demo_Bank/ap-AP_Payments/epg-EPG_DB",
        "uni/tn-Demo_Bank/ap-AP_Payments/epg-EPG_Legacy",
        "uni/tn-Demo_Bank/ap-AP_Payments/epg-EPG_Mgmt",
        "uni/tn-Demo_Bank/ap-AP_Payments/epg-EPG_Web",
        "uni/tn-Demo_Bank/out-OUT_Core"
      ]
    },
    {
      "rule_id": "NIP-D001",
      "rule_name": "DriftCheck",
      "severity": "WARNING",
      "title": "BD BD_DB subnets differ (extra ['10.240.30.1/24'], missing ['10.240.31.1/24'])",
      "why": "Gateways configured on the fabric do not match the design.",
      "evidence": [
        "uni/tn-Demo_Bank/BD-BD_DB"
      ]
    }
  ]
}
