Skip to content

Commit

Permalink
Merge pull request #1240 from tscuite/main
Browse files Browse the repository at this point in the history
fix(pr): Update Vulnerability Queries, mysql del department_id
  • Loading branch information
tscuite authored Feb 8, 2023
2 parents 7c6998f + cfc2f18 commit 0d0e501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dongtai_common/models/vulnerablity.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class IastVulnerabilityDocument(Document):
project_name = fields.IntegerField(attr="agent.bind_project.name")
token = fields.IntegerField(attr="agent.token")
server_id = fields.IntegerField(attr="server_id")
department_id = fields.IntegerField(attr="department_id")
department_id = fields.IntegerField(attr="agent.department_id")

@classmethod
def search(cls, using=None, index=None):
Expand Down

0 comments on commit 0d0e501

Please sign in to comment.