Skip to content

Commit a8f35be

Browse files
authored
Add repo url to engagements (#19)
1 parent fdd86df commit a8f35be

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/actions/upload-defectdojo/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ runs:
1515
base_url = 'https://defectdojo-api.corp.zoo.dev'
1616
dd_token = os.environ['INPUT_DD_TOKEN']
1717
repo_name = os.environ['GITHUB_REPOSITORY'].split('/')[-1]
18+
repo_url = 'https://github.com/' + os.environ['GITHUB_REPOSITORY']
1819
report_path = os.environ['INPUT_REPORT_PATH']
1920
scan_type = os.environ['INPUT_SCAN_TYPE']
2021
engagement = os.environ['INPUT_ENGAGEMENT']
@@ -42,6 +43,7 @@ runs:
4243
'product_name': repo_name,
4344
'engagement_name': engagement,
4445
'scan_type': scan_type,
46+
'source_code_management_uri': repo_url,
4547
'auto_create_context': 'True',
4648
}
4749
with open(report_path, 'rb') as f:

0 commit comments

Comments
 (0)