Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Commit

Permalink
Merge pull request #395 from Bidaya0/feature/project_detail-add-base_…
Browse files Browse the repository at this point in the history
…url-test_req_header_key-test_req_header_value

feature:project_detail add base_url test_req_header_key test_req_head…
  • Loading branch information
Bidaya0 committed Jan 14, 2022
2 parents 599dc9e + ccdf6c6 commit bce3256
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
ports:
- "8000:8000"
environment:
- PYTHONAGENT=TRUE
# - PYTHONAGENT=TRUE
- DOC=TRUE
- debug=true
- SAVEEYE=TRUE
Expand Down
5 changes: 4 additions & 1 deletion iast/views/project_detail.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ def get(self, request, id):
"scan_name": scan_name,
"agents": agents,
"versionData": current_project_version,
"vul_validation": project.vul_validation
"vul_validation": project.vul_validation,
'base_url':project.base_url,
"test_req_header_key":project.test_req_header_key,
"test_req_header_value":project.test_req_header_values,
})
else:
return R.failure(status=203, msg=_('no permission'))
Expand Down

0 comments on commit bce3256

Please sign in to comment.