Skip to content

Commit c2845f0

Browse files
authored
Merge branch 'main' into digcs-43
2 parents b447f7c + 2dabdd2 commit c2845f0

File tree

20 files changed

+2000
-41
lines changed

20 files changed

+2000
-41
lines changed
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: Claude Docs PR Reviewer
2+
on:
3+
pull_request:
4+
types:
5+
- synchronize
6+
- reopened
7+
- opened
8+
branches:
9+
- main
10+
workflow_dispatch:
11+
12+
jobs:
13+
check-if-to-trigger:
14+
name: Check if to trigger
15+
outputs:
16+
changed_files: ${{ steps.changed-files.outputs.any_changed }}
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout repository
20+
uses: actions/checkout@v4
21+
with:
22+
fetch-depth: 1
23+
24+
- name: Check for changed files
25+
id: changed-files
26+
uses: tj-actions/changed-files@v46
27+
with:
28+
files: |
29+
docs/**
30+
31+
claude-docs-pr-reviewer:
32+
name: Claude Docs PR Reviewer
33+
needs: check-if-to-trigger
34+
if: needs.check-if-to-trigger.outputs.changed_files == 'true' && github.event.pull_request.head.repo.full_name == 'port-labs/port-docs'
35+
runs-on: ubuntu-latest
36+
permissions:
37+
contents: read
38+
pull-requests: read
39+
issues: read
40+
id-token: write
41+
steps:
42+
- name: Checkout repository
43+
uses: actions/checkout@v4
44+
with:
45+
fetch-depth: 1
46+
47+
- name: Configure Git
48+
run: |
49+
git config --global user.name "Port Claude AI"
50+
git config --global user.email "port-claude-ai@port.io"
51+
52+
- name: Run Claude PR Action
53+
uses: anthropics/claude-code-action@beta
54+
with:
55+
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
56+
allowed_tools: "Bash(git:*),Bash(gh:*),Bash(jq:*),Bash(yq:*),View,GlobTool,GrepTool,BatchTool"
57+
direct_prompt: |
58+
Please review the following PR and provide a detailed review of the changes according the ./CONTRIBUTING.md provide results in markdown format.
59+
timeout_minutes: "15"

docs/api-reference/search-a-blueprints-entities.api.mdx

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.
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+
]

docs/build-your-software-catalog/customize-integrations/configure-data-model/setup-blueprint/properties/_limit_field_restriction.mdx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ Selecting the **list of values** option will set the property's `type` to `array
1212
:::info Limit field restriction
1313
The limit field setting, whether it's **1 value** or a **list of values**, is permanent and cannot be changed after the property is created. If you create a property with a single value limit, you won’t be able to change it later to allow multiple values.
1414

15-
To change the limit configuration after creation, you have two options:
16-
- Create a new property with the **limit** field set to a **list of values**.
17-
- Use the [migrate blueprint data](/build-your-software-catalog/customize-integrations/configure-data-model/migrate-data/) feature.
15+
To change the limit configuration after creation:
16+
1. Create a new property with the **limit** field set to a **list of values**.
17+
2. Use the [migrate blueprint data](/build-your-software-catalog/customize-integrations/configure-data-model/migrate-data/) feature to insert the data to the new property.
18+
3. Delete the old property.
19+
4. Rename the new property to the old property name (optional).
1820
:::
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)