diff options
Diffstat (limited to 'grasp-audit/src/client.rs')
| -rw-r--r-- | grasp-audit/src/client.rs | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/grasp-audit/src/client.rs b/grasp-audit/src/client.rs index d78b33c..4831d3f 100644 --- a/grasp-audit/src/client.rs +++ b/grasp-audit/src/client.rs | |||
| @@ -95,16 +95,11 @@ impl AuditClient { | |||
| 95 | 95 | ||
| 96 | if self.config.mode == AuditMode::CI { | 96 | if self.config.mode == AuditMode::CI { |
| 97 | // In CI mode, only see our own audit events | 97 | // In CI mode, only see our own audit events |
| 98 | // Filter by "g" tag (grasp-audit marker) and "r" tag (run ID) | 98 | // Filter by "t" tags (hashtags) |
| 99 | let t_tag = SingleLetterTag::lowercase(Alphabet::T); | ||
| 99 | filter = filter | 100 | filter = filter |
| 100 | .custom_tag( | 101 | .custom_tag(t_tag, "grasp-audit-test-event") |
| 101 | SingleLetterTag::lowercase(Alphabet::G), | 102 | .custom_tag(t_tag, format!("audit-{}", self.config.run_id)); |
| 102 | "grasp-audit" | ||
| 103 | ) | ||
| 104 | .custom_tag( | ||
| 105 | SingleLetterTag::lowercase(Alphabet::R), | ||
| 106 | &self.config.run_id | ||
| 107 | ); | ||
| 108 | } | 103 | } |
| 109 | // In Production mode, see all events (no filter modification) | 104 | // In Production mode, see all events (no filter modification) |
| 110 | 105 | ||