Skip to content

Commit b8a1501

Browse files
Merge pull request #150 from UiPath/chore/add-security-scans
chore: add security scans
2 parents b6e14fb + 7628bc6 commit b8a1501

File tree

2 files changed

+55
-0
lines changed

2 files changed

+55
-0
lines changed

.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 MCP Python SDK" --branch "$(Build.SourceBranch)" --revision "$(Build.SourceVersion)-$(Build.BuildId)"'
39+
FOSSATestFlags: '--project "UiPath MCP 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)