github.com/google/osv-scalibr@v0.4.1/guidedremediation/internal/resolution/testdata/vulnerabilities.json (about) 1 { 2 "vulns": [ 3 { 4 "id": "VULN-000", 5 "affected": [ 6 { 7 "package": { 8 "ecosystem": "npm", 9 "name": "alice" 10 }, 11 "ranges": [ 12 { 13 "type": "SEMVER", 14 "events": [ 15 { 16 "introduced": "0" 17 } 18 ] 19 } 20 ] 21 } 22 ] 23 }, 24 { 25 "id": "VULN-001", 26 "affected": [ 27 { 28 "package": { 29 "ecosystem": "npm", 30 "name": "alice" 31 }, 32 "ranges": [ 33 { 34 "type": "SEMVER", 35 "events": [ 36 { 37 "introduced": "0" 38 }, 39 { 40 "fixed": "2.0.0" 41 } 42 ] 43 } 44 ] 45 } 46 ] 47 }, 48 { 49 "id": "VULN-002", 50 "affected": [ 51 { 52 "package": { 53 "ecosystem": "npm", 54 "name": "charlie" 55 }, 56 "ranges": [ 57 { 58 "type": "SEMVER", 59 "events": [ 60 { 61 "introduced": "0" 62 } 63 ] 64 } 65 ] 66 } 67 ] 68 }, 69 { 70 "id": "VULN-003", 71 "affected": [ 72 { 73 "package": { 74 "ecosystem": "npm", 75 "name": "bob" 76 }, 77 "ranges": [ 78 { 79 "type": "SEMVER", 80 "events": [ 81 { 82 "introduced": "0" 83 } 84 ] 85 } 86 ] 87 }, 88 { 89 "package": { 90 "ecosystem": "npm", 91 "name": "charlie" 92 }, 93 "ranges": [ 94 { 95 "type": "SEMVER", 96 "events": [ 97 { 98 "introduced": "0" 99 } 100 ] 101 } 102 ] 103 } 104 ] 105 }, 106 { 107 "id": "VULN-004", 108 "affected": [ 109 { 110 "package": { 111 "ecosystem": "npm", 112 "name": "test" 113 }, 114 "ranges": [ 115 { 116 "type": "SEMVER", 117 "events": [ 118 { 119 "introduced": "0" 120 } 121 ] 122 } 123 ] 124 } 125 ] 126 } 127 ] 128 }