microsoft/hve-core
Publicmirrored from https://github.com/microsoft/hve-coreAvailable
scripts/tests/fixtures/rai-state/phase-4-with-disclaimer.json
103lines · modecode
| 1 | { |
| 2 | "projectSlug": "example-project", |
| 3 | "raiPlanFile": ".copilot-tracking/rai-plans/example-project/rai-plan.md", |
| 4 | "currentPhase": 4, |
| 5 | "entryMode": "from-security-plan", |
| 6 | "securityPlanRef": ".copilot-tracking/security-plans/example-project/security-plan.md", |
| 7 | "assessmentDepth": "comprehensive", |
| 8 | "standardsMapped": true, |
| 9 | "securityModelAnalysisStarted": true, |
| 10 | "raiThreatCount": 2, |
| 11 | "impactAssessmentGenerated": false, |
| 12 | "evidenceRegisterComplete": false, |
| 13 | "handoffGenerated": { "ado": false, "github": false }, |
| 14 | "gateResults": { |
| 15 | "prohibitedUsesGate": { |
| 16 | "status": "passed", |
| 17 | "sourceFrameworks": ["embedded-prohibited-uses", "security-plan"], |
| 18 | "notes": "No prohibited-use indicators were found during classification." |
| 19 | } |
| 20 | }, |
| 21 | "riskClassification": { |
| 22 | "framework": { |
| 23 | "id": "microsoft-rai-impact", |
| 24 | "name": "Microsoft RAI Impact Assessment", |
| 25 | "version": "1.0", |
| 26 | "source": "embedded", |
| 27 | "replaceDefaultIndicators": false, |
| 28 | "replaceDefaultFramework": false |
| 29 | }, |
| 30 | "indicators": { |
| 31 | "safety_reliability": { |
| 32 | "method": "binary", |
| 33 | "nistSource": ["MAP 1.1"], |
| 34 | "activated": true, |
| 35 | "observation": "Workflow automation affects operational reliability decisions.", |
| 36 | "result": "activated" |
| 37 | }, |
| 38 | "rights_fairness_privacy": { |
| 39 | "method": "binary", |
| 40 | "nistSource": ["MAP 2.3"], |
| 41 | "activated": false, |
| 42 | "observation": "No sensitive demographic attributes are collected.", |
| 43 | "result": "not-activated" |
| 44 | }, |
| 45 | "security_explainability": { |
| 46 | "method": "binary", |
| 47 | "nistSource": ["GOV 1.5"], |
| 48 | "activated": true, |
| 49 | "observation": "Generated recommendations require explainability and abuse-case analysis.", |
| 50 | "result": "activated" |
| 51 | } |
| 52 | }, |
| 53 | "activatedCount": 2, |
| 54 | "riskScore": 0.67, |
| 55 | "suggestedDepthTier": "comprehensive" |
| 56 | }, |
| 57 | "runningObservations": [], |
| 58 | "principleTracker": { |
| 59 | "validReliable": { "suggestedStatus": "partial", "mappedInPhase3": true, "threatsIdentified": 1, "controlsEvaluated": 0, "nistSubcat": "MAP 1.1", "openObservations": ["Confirm evaluation data freshness."] }, |
| 60 | "safe": { "suggestedStatus": "gap-identified", "mappedInPhase3": true, "threatsIdentified": 1, "controlsEvaluated": 0, "nistSubcat": "MAP 1.2", "openObservations": ["Document human override path."] }, |
| 61 | "secureResilient": { "suggestedStatus": "gap-identified", "mappedInPhase3": true, "threatsIdentified": 1, "controlsEvaluated": 0, "nistSubcat": "GOV 1.5", "openObservations": ["Review prompt injection controls."] }, |
| 62 | "accountableTransparent": { "suggestedStatus": "partial", "mappedInPhase3": true, "threatsIdentified": 0, "controlsEvaluated": 0, "nistSubcat": "GOV 2.1", "openObservations": [] }, |
| 63 | "explainableInterpretable": { "suggestedStatus": "partial", "mappedInPhase3": true, "threatsIdentified": 0, "controlsEvaluated": 0, "nistSubcat": "MAP 2.2", "openObservations": [] }, |
| 64 | "privacyEnhanced": { "suggestedStatus": "partial", "mappedInPhase3": true, "threatsIdentified": 0, "controlsEvaluated": 0, "nistSubcat": "MAP 2.3", "openObservations": [] }, |
| 65 | "fairBiasManaged": { "suggestedStatus": "partial", "mappedInPhase3": true, "threatsIdentified": 0, "controlsEvaluated": 0, "nistSubcat": "MAP 5.1", "openObservations": [] } |
| 66 | }, |
| 67 | "referencesProcessed": [ |
| 68 | { |
| 69 | "filePath": ".copilot-tracking/security-plans/example-project/security-plan.md", |
| 70 | "type": "standard", |
| 71 | "sourceDescription": "Source security plan", |
| 72 | "processedInPhase": 4, |
| 73 | "status": "processed" |
| 74 | } |
| 75 | ], |
| 76 | "nextActions": ["Map RAI threats to mitigations"], |
| 77 | "signingRequested": false, |
| 78 | "signingManifestPath": null, |
| 79 | "disclaimerShownAt": "2025-01-01T00:00:00Z", |
| 80 | "noticeLog": [ |
| 81 | { |
| 82 | "noticeType": "professional-review-reminder", |
| 83 | "shownAt": "2025-01-01T00:00:00Z", |
| 84 | "source": ".github/instructions/rai-planning/rai-identity.instructions.md", |
| 85 | "details": { "phase": "phase4" } |
| 86 | } |
| 87 | ], |
| 88 | "userPreferences": { |
| 89 | "autonomyTier": "partial", |
| 90 | "outputDetailLevel": "detailed", |
| 91 | "targetSystem": "both", |
| 92 | "audienceProfile": "mixed", |
| 93 | "includeOptionalArtifacts": { "transparencyNote": true, "monitoringSummary": false, "artifactSigning": false } |
| 94 | }, |
| 95 | "phaseGates": { |
| 96 | "phase1": { "gate": "summary-and-advance" }, |
| 97 | "phase2": { "gate": "hard", "confirmedAt": "2025-01-02T00:00:00Z" }, |
| 98 | "phase3": { "gate": "hard", "confirmedAt": "2025-01-03T00:00:00Z" }, |
| 99 | "phase4": { "gate": "summary-and-advance" }, |
| 100 | "phase5": { "gate": "summary-and-advance" }, |
| 101 | "phase6": { "gate": "hard", "confirmedAt": null } |
| 102 | } |
| 103 | } |
| 104 | |