Skip to content

Commit

Permalink
Merge branch 'release/3.2.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromeleonard committed Mar 2, 2023
2 parents 16efa0c + 068ab97 commit a4e4fe4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion analyzers/Crowdsec/crowdsec_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ def _request(self, path: str):
"""
headers = {
"x-api-key": self.api_key ,
"accept": "application/json"
"accept": "application/json",
"User-Agent": "crowdsec-cortex/v1.0.0",
}
url = urljoin(self.base_url, path)
response = requests.get(url, headers=headers)
Expand Down

0 comments on commit a4e4fe4

Please sign in to comment.