We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b9a8841 + e66e4d3 commit bd65c87Copy full SHA for bd65c87
src/api/log.rs
@@ -15,6 +15,8 @@ pub struct Log {
15
struct FromLog {
16
#[serde(rename = "ruleId")]
17
rule_id: Option<String>,
18
+ #[serde(rename = "ruleIds")]
19
+ rule_ids: Option<Vec<String>>,
20
url: String,
21
method: Option<String>,
22
scheme: Option<String>,
@@ -61,6 +63,10 @@ impl Log {
61
63
Some(s) => Some(s.clone()),
62
64
},
65
66
+ rule_ids: match action {
67
+ None => None,
68
+ Some(action) => Some(action.rule_ids.clone()),
69
+ },
70
url: request.path_and_query.original.clone(),
71
method: request.method.clone(),
72
scheme: request.scheme.clone(),
0 commit comments