Skip to content

Commit ee05c5f

Browse files
chore: add security scans
1 parent 8dbf063 commit ee05c5f

File tree

3 files changed

+56
-1
lines changed

3 files changed

+56
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ jobs:
2323
secrets:
2424
UIPATH_URL: ${{ secrets.UIPATH_URL }}
2525
UIPATH_CLIENT_ID: ${{ secrets.UIPATH_CLIENT_ID }}
26-
UIPATH_CLIENT_SECRET: ${{ secrets.UIPATH_CLIENT_SECRET }}
26+
UIPATH_CLIENT_SECRET: ${{ secrets.UIPATH_CLIENT_SECRET }}

.pipelines/security-scans.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
trigger: none
2+
pr: none
3+
4+
schedules:
5+
- cron: "0 11 * * 1"
6+
displayName: "Every Monday at 1:00 PM"
7+
branches:
8+
include:
9+
- main
10+
always: true
11+
12+
resources:
13+
repositories:
14+
- repository: codeql
15+
type: github
16+
name: UiPath/AzurePipelinesTemplates
17+
ref: refs/tags/uipath.security.codeql.1.9.5
18+
endpoint: UiPath
19+
- repository: fossa
20+
type: github
21+
name: UiPath/AzurePipelinesTemplates
22+
ref: refs/tags/uipath.security.fossa.3.0.13
23+
endpoint: UiPath
24+
25+
variables:
26+
- template: ./variables.yml
27+
28+
stages:
29+
- stage: FOSSA
30+
dependsOn: []
31+
jobs:
32+
- job: FOSSA
33+
steps:
34+
- template: Security/fossa.steps.yml@fossa
35+
parameters:
36+
OS: linux
37+
azureSubscription: $(azureInternalProductionEaConnectionName)
38+
FOSSAFlags: '--project "UiPath Langchain Python SDK" --branch "$(Build.SourceBranch)" --revision "$(Build.SourceVersion)-$(Build.BuildId)"'
39+
FOSSATestFlags: '--project "UiPath Langchain Python SDK" --revision "$(Build.SourceVersion)-$(Build.BuildId)"'
40+
${{ if contains(variables['Build.SourceBranch'], 'main') }}:
41+
publishSecurityReports: true
42+
43+
44+
- stage: CODEQL
45+
dependsOn: []
46+
jobs:
47+
- job: CODEQL
48+
steps:
49+
- template: Security/codeql.interpreted.steps.yml@codeql
50+
parameters:
51+
os: 'linux64'
52+
language: 'python'
53+
azureSubscription: $(azureInternalProductionEaConnectionName)

.pipelines/variables.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
variables:
2+
azureInternalProductionEaConnectionName: Internal-Production-EA

0 commit comments

Comments
 (0)