Skip to content

Commit

Permalink
Adds detection for Blackbox Exporter bot (#7842)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nommyde authored Sep 20, 2024
1 parent 7d776da commit 2d18ce9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Tests/fixtures/bots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,15 @@
producer:
name: Bitly, Inc.
url: https://bitly.com
-
user_agent: Blackbox Exporter/0.24.0
bot:
name: Blackbox Exporter
category: Site Monitor
url: https://github.com/prometheus/blackbox_exporter
producer:
name: Prometheus
url: https://prometheus.io/
-
user_agent: Mozilla/5.0 (compatible; Blekkobot; ScoutJet; +http://blekko.com/about/blekkobot)
bot:
Expand Down
8 changes: 8 additions & 0 deletions regexes/bots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,14 @@
name: 'Microsoft Corporation'
url: 'http://www.microsoft.com'

- regex: 'Blackbox Exporter'
name: 'Blackbox Exporter'
category: 'Site Monitor'
url: 'https://github.com/prometheus/blackbox_exporter'
producer:
name: 'Prometheus'
url: 'https://prometheus.io/'

- regex: 'Blekkobot'
name: 'Blekkobot'
category: 'Search bot'
Expand Down

0 comments on commit 2d18ce9

Please sign in to comment.