|
| 1 | +[ |
| 2 | + { |
| 3 | + "identifier": "aikidoRepository", |
| 4 | + "title": "Aikido Repository", |
| 5 | + "icon": "Aikido", |
| 6 | + "schema": { |
| 7 | + "properties": { |
| 8 | + "name": { |
| 9 | + "type": "string", |
| 10 | + "title": "Repository Name" |
| 11 | + }, |
| 12 | + "provider": { |
| 13 | + "type": "string", |
| 14 | + "title": "Provider", |
| 15 | + "enum": ["github", "gitlab", "gitlab-server", "bitbucket", "azure_devops", "selfscan"] |
| 16 | + }, |
| 17 | + "externalRepoId": { |
| 18 | + "type": "string", |
| 19 | + "title": "External Repository ID" |
| 20 | + }, |
| 21 | + "active": { |
| 22 | + "type": "boolean", |
| 23 | + "title": "Active" |
| 24 | + }, |
| 25 | + "url": { |
| 26 | + "type": "string", |
| 27 | + "title": "Repository URL" |
| 28 | + }, |
| 29 | + "branch": { |
| 30 | + "type": "string", |
| 31 | + "title": "Default Branch" |
| 32 | + }, |
| 33 | + "lastScannedAt": { |
| 34 | + "type": "number", |
| 35 | + "title": "Last Scanned At" |
| 36 | + } |
| 37 | + }, |
| 38 | + "required": ["name", "provider", "externalRepoId"] |
| 39 | + }, |
| 40 | + "relations": { |
| 41 | + "aikidoIssue": { |
| 42 | + "title": "Issues", |
| 43 | + "target": "aikidoIssue", |
| 44 | + "required": false, |
| 45 | + "many": true |
| 46 | + } |
| 47 | + } |
| 48 | + }, |
| 49 | + { |
| 50 | + "identifier": "aikidoIssue", |
| 51 | + "title": "Aikido Issue", |
| 52 | + "icon": "Aikido", |
| 53 | + "schema": { |
| 54 | + "properties": { |
| 55 | + "groupId": { |
| 56 | + "type": "number", |
| 57 | + "title": "Group ID" |
| 58 | + }, |
| 59 | + "attackSurface": { |
| 60 | + "type": "string", |
| 61 | + "title": "Attack Surface", |
| 62 | + "enum": ["backend", "frontend", "infrastructure", "container"] |
| 63 | + }, |
| 64 | + "status": { |
| 65 | + "type": "string", |
| 66 | + "title": "Status", |
| 67 | + "enum": ["open", "closed", "ignored", "snoozed"], |
| 68 | + "enumColors": { |
| 69 | + "open": "red", |
| 70 | + "closed": "green", |
| 71 | + "ignored": "yellow", |
| 72 | + "snoozed": "blue" |
| 73 | + } |
| 74 | + }, |
| 75 | + "severity": { |
| 76 | + "type": "string", |
| 77 | + "title": "Severity", |
| 78 | + "enum": ["critical", "high", "medium", "low"] |
| 79 | + }, |
| 80 | + "severityScore": { |
| 81 | + "type": "number", |
| 82 | + "title": "Severity Score" |
| 83 | + }, |
| 84 | + "type": { |
| 85 | + "type": "string", |
| 86 | + "title": "Issue Type", |
| 87 | + "enum": ["open_source", "leaked_secret", "cloud", "iac", "sast", "mobile", "surface_monitoring", "malware", "eol", "scm_security", "license"] |
| 88 | + }, |
| 89 | + "rule": { |
| 90 | + "type": "string", |
| 91 | + "title": "Rule Name" |
| 92 | + }, |
| 93 | + "affectedFile": { |
| 94 | + "type": "string", |
| 95 | + "title": "Affected File" |
| 96 | + }, |
| 97 | + "codeRepoName": { |
| 98 | + "type": "string", |
| 99 | + "title": "Code Repository Name" |
| 100 | + }, |
| 101 | + "codeRepoId": { |
| 102 | + "type": "number", |
| 103 | + "title": "Code Repository ID" |
| 104 | + }, |
| 105 | + "closedAt": { |
| 106 | + "type": "number", |
| 107 | + "title": "Closed At" |
| 108 | + } |
| 109 | + }, |
| 110 | + "required": ["status", "severity", "type", "rule"] |
| 111 | + }, |
| 112 | + "relations": { |
| 113 | + "aikidoRepository": { |
| 114 | + "title": "Repository", |
| 115 | + "target": "aikidoRepository", |
| 116 | + "required": false, |
| 117 | + "many": false |
| 118 | + } |
| 119 | + } |
| 120 | + } |
| 121 | +] |
0 commit comments