Skip to content

Commit 470db05

Browse files
Merge branch 'main' into patch-4
2 parents 08c630d + e37ee23 commit 470db05

File tree

5 files changed

+931
-7
lines changed

5 files changed

+931
-7
lines changed

.github/workflows/claude-pr-reviewer.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,7 @@ on:
77
- opened
88
branches:
99
- main
10-
11-
permissions:
12-
contents: read
13-
pull-requests: read
14-
issues: read
15-
id-token: write
10+
workflow_dispatch:
1611

1712
jobs:
1813
check-if-to-trigger:
@@ -36,8 +31,13 @@ jobs:
3631
claude-docs-pr-reviewer:
3732
name: Claude Docs PR Reviewer
3833
needs: check-if-to-trigger
39-
if: needs.check-if-to-trigger.outputs.changed_files == 'true'
34+
if: needs.check-if-to-trigger.outputs.changed_files == 'true' && github.event.pull_request.head.repo.full_name == 'port-labs/port-docs'
4035
runs-on: ubuntu-latest
36+
permissions:
37+
contents: read
38+
pull-requests: read
39+
issues: read
40+
id-token: write
4141
steps:
4242
- name: Checkout repository
4343
uses: actions/checkout@v4
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
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+
]
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"label": "Aikido",
3+
"position": 1
4+
}

0 commit comments

Comments
 (0)