From f72960540824acb6fc68bd5d3559352ebe2b1ffc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arturo=20Filast=C3=B2?= Date: Thu, 10 Oct 2024 15:48:48 +0200 Subject: [PATCH] Add findings list to monitoring --- ansible/roles/prometheus/vars/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ansible/roles/prometheus/vars/main.yml b/ansible/roles/prometheus/vars/main.yml index 6550cd51..abf6d469 100644 --- a/ansible/roles/prometheus/vars/main.yml +++ b/ansible/roles/prometheus/vars/main.yml @@ -95,6 +95,12 @@ blackbox_jobs: - "https://api.ooni.io/api/_/global_overview" - "https://api.ooni.org/api/_/global_overview" + - name: "ooni API findings listing" + module: "https_2xx_json" + targets: + - "https://api.ooni.io/api/v1/incidents/search" + - "https://api.ooni.org/api/v1/incidents/search" + # Note: this always returns true by design - name: "OONI API check_report_id" module: "https_2xx_json"