Skip to content

Commit b096f93

Browse files
authored
Merge pull request #588 from KennaSecurity/SUP-1820-fix-bitsight-task
SUP-1820-fix bitsight headers
2 parents 0c9be0f + 54024db commit b096f93

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tasks/connectors/digital_footprint/bitsight/lib/bitsight_helpers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def bitsight_findings_and_create_kdi(bitsight_create_benign_findings, bitsight_b
5454

5555
def my_company
5656
# First get my company
57-
response = http_get("https://#{@bitsight_api_key}:@api.bitsighttech.com/portfolio", {})
57+
response = http_get("https://#{@bitsight_api_key}:@api.bitsighttech.com/portfolio", @headers)
5858
portfolio = JSON.parse(response.body)
5959
@companies = portfolio["companies"]
6060
@company_guid = portfolio["my_company"]["guid"]

0 commit comments

Comments
 (0)