Skip to content

Commit 3889c4c

Browse files
Add new policy fields for diagnostic firewall_anti_tamper plugin (#637)
1 parent c459add commit 3889c4c

File tree

6 files changed

+83
-0
lines changed

6 files changed

+83
-0
lines changed

custom_documentation/doc/endpoint/policy/policy_response.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ This is a state management document that is generated every time Endpoint refres
5252
| Endpoint.policy.applied.response.configurations.streaming.status |
5353
| Endpoint.policy.applied.response.diagnostic.behavior_protection.concerned_actions |
5454
| Endpoint.policy.applied.response.diagnostic.behavior_protection.status |
55+
| Endpoint.policy.applied.response.diagnostic.firewall_anti_tamper.concerned_actions |
56+
| Endpoint.policy.applied.response.diagnostic.firewall_anti_tamper.status |
5557
| Endpoint.policy.applied.response.diagnostic.malware.concerned_actions |
5658
| Endpoint.policy.applied.response.diagnostic.malware.status |
5759
| Endpoint.policy.applied.response.diagnostic.memory_protection.concerned_actions |

custom_documentation/src/endpoint/data_stream/policy/policy_response.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ fields:
6060
- Endpoint.policy.applied.response.configurations.streaming.status
6161
- Endpoint.policy.applied.response.diagnostic.behavior_protection.concerned_actions
6262
- Endpoint.policy.applied.response.diagnostic.behavior_protection.status
63+
- Endpoint.policy.applied.response.diagnostic.firewall_anti_tamper.concerned_actions
64+
- Endpoint.policy.applied.response.diagnostic.firewall_anti_tamper.status
6365
- Endpoint.policy.applied.response.diagnostic.malware.concerned_actions
6466
- Endpoint.policy.applied.response.diagnostic.malware.status
6567
- Endpoint.policy.applied.response.diagnostic.memory_protection.concerned_actions

custom_schemas/custom_endpoint.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,24 @@
247247
enabled: false
248248
description: the diagnostic configurations of the applied policy
249249

250+
- name: policy.applied.response.diagnostic.firewall_anti_tamper
251+
level: custom
252+
type: object
253+
description: overall firewall anti-tamper configuration and status of the applied policy
254+
255+
- name: policy.applied.response.diagnostic.firewall_anti_tamper.concerned_actions
256+
level: custom
257+
type: keyword
258+
description: all actions that were taken for the diagnostic configuration of firewall anti-tamper
259+
260+
- name: policy.applied.response.diagnostic.firewall_anti_tamper.status
261+
level: custom
262+
type: keyword
263+
description: >
264+
the overall status of the diagnostic configuration of firewall anti-tamper, this is correlated to
265+
the status of concerned actions but not a simple sum of the actions
266+
short: the overall status of diagnostic firewall anti-tamper
267+
250268
- name: policy.applied.response.diagnostic.ransomware.concerned_actions
251269
level: custom
252270
type: keyword

package/endpoint/data_stream/policy/fields/fields.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,23 @@
367367
ignore_above: 1024
368368
description: the overall status of the diagnostic configuration of credential protection, this is correlated to the status of concerned actions but not a simple sum of the actions
369369
default_field: false
370+
- name: policy.applied.response.diagnostic.firewall_anti_tamper
371+
level: custom
372+
type: object
373+
description: overall firewall anti-tamper configuration and status of the applied policy
374+
default_field: false
375+
- name: policy.applied.response.diagnostic.firewall_anti_tamper.concerned_actions
376+
level: custom
377+
type: keyword
378+
ignore_above: 1024
379+
description: all actions that were taken for the diagnostic configuration of firewall anti-tamper
380+
default_field: false
381+
- name: policy.applied.response.diagnostic.firewall_anti_tamper.status
382+
level: custom
383+
type: keyword
384+
ignore_above: 1024
385+
description: the overall status of the diagnostic configuration of firewall anti-tamper, this is correlated to the status of concerned actions but not a simple sum of the actions
386+
default_field: false
370387
- name: policy.applied.response.diagnostic.malware.concerned_actions
371388
level: custom
372389
type: keyword

package/endpoint/data_stream/policy/sample_event.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,16 @@
243243
"configure_diagnostic_rollback"
244244
],
245245
"status": "success"
246+
},
247+
"firewall_anti_tamper": {
248+
"concerned_actions": [
249+
"load_config",
250+
"workflow",
251+
"download_global_artifacts",
252+
"download_user_artifacts",
253+
"configure_diagnostic_firewall_anti_tamper"
254+
],
255+
"status": "success"
246256
}
247257
}
248258
},

schemas/v1/policy/policy.yaml

Lines changed: 34 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)