Skip to content

Commit

Permalink
Merge pull request #1230 from tscuite/main
Browse files Browse the repository at this point in the history
fix(pr): Update Vulnerability Queries
  • Loading branch information
tscuite authored Feb 7, 2023
2 parents 98d938a + 86985f6 commit 832265d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dongtai_web/aggr_vul/app_vul_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,10 @@ def post(self, request):
item['server__container'])
item['is_header_vul'] = VulSerializer.judge_is_header_vul(
item['strategy_id'])
item['agent__project_name'] = item['project__name']
item['agent__server__container'] = item['server__container']
item['agent__language'] = item['language']
item['agent__bind_project_id'] = item['project_id']
item['header_vul_urls'] = VulSerializer.find_all_urls(
item['id']) if item['is_header_vul'] else []
end['data'].append(item)
Expand Down

0 comments on commit 832265d

Please sign in to comment.