-
Notifications
You must be signed in to change notification settings - Fork 727
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
security/caldera-ot: Add new plugins
- Add iec61850 plugin - Add profinet plugin - STRIP bacnet binaries - Change modbus payload name - Set MITRE Caldera dependency to 4.x - Bump PORTREVISION
- Loading branch information
Showing
43 changed files
with
830 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
...t/files/patch-iec61850_data_abilities_collection_04ccfa36-f576-379f-a268-6283de403ad8.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- iec61850/data/abilities/collection/04ccfa36-f576-379f-a268-6283de403ad8.yml.orig 2024-02-18 18:34:52 UTC | ||
+++ iec61850/data/abilities/collection/04ccfa36-f576-379f-a268-6283de403ad8.yml | ||
@@ -52,6 +52,20 @@ | ||
- source: iec61850.device.name | ||
edge: has_node | ||
target: iec61850.node.name | ||
+ freebsd: | ||
+ sh: | ||
+ command: './iec61850_actions_freebsd get data_sets #{iec61850.server.ip}' | ||
+ payloads: | ||
+ - iec61850_actions_freebsd | ||
+ timeout: 360 | ||
+ parsers: | ||
+ plugins.iec61850.app.parsers.data_set: | ||
+ - source: iec61850.device.name | ||
+ edge: has_dataset | ||
+ target: iec61850.dataset.name | ||
+ - source: iec61850.device.name | ||
+ edge: has_node | ||
+ target: iec61850.node.name | ||
repeatable: true | ||
plugin: iec61850 | ||
additional_info: |
21 changes: 21 additions & 0 deletions
21
...t/files/patch-iec61850_data_abilities_collection_15758d41-4237-34eb-adb2-d5698e3ea4ff.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- iec61850/data/abilities/collection/15758d41-4237-34eb-adb2-d5698e3ea4ff.yml.orig 2024-02-18 18:34:52 UTC | ||
+++ iec61850/data/abilities/collection/15758d41-4237-34eb-adb2-d5698e3ea4ff.yml | ||
@@ -27,10 +27,16 @@ | ||
payloads: | ||
- iec61850_actions | ||
timeout: 360 | ||
+ freebsd: | ||
+ sh: | ||
+ command: './iec61850_actions_freebsd get reports #{iec61850.server.ip}' | ||
+ payloads: | ||
+ - iec61850_actions_freebsd | ||
+ timeout: 360 | ||
repeatable: true | ||
plugin: iec61850 | ||
additional_info: | ||
facts: | ||
iec61850.server.ip: | ||
default: null | ||
- description: IP address of the server | ||
\ No newline at end of file | ||
+ description: IP address of the server |
27 changes: 27 additions & 0 deletions
27
...t/files/patch-iec61850_data_abilities_collection_1b7dcec1-0b12-3df4-b323-6c1b33356981.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- iec61850/data/abilities/collection/1b7dcec1-0b12-3df4-b323-6c1b33356981.yml.orig 2024-02-18 18:34:52 UTC | ||
+++ iec61850/data/abilities/collection/1b7dcec1-0b12-3df4-b323-6c1b33356981.yml | ||
@@ -67,6 +67,24 @@ | ||
- source: iec61850.attribute.name | ||
edge: has_value | ||
target: iec61850.attribute.value | ||
+ freebsd: | ||
+ sh: | ||
+ command: './iec61850_actions_freebsd get value #{iec61850.attribute.name} --fc #{iec61850.attribute.fc} | ||
+ #{iec61850.server.ip}' | ||
+ payloads: | ||
+ - iec61850_actions_freebsd | ||
+ timeout: 360 | ||
+ parsers: | ||
+ plugins.iec61850.app.parsers.value: | ||
+ - source: iec61850.attribute.name | ||
+ edge: has_fc | ||
+ target: iec61850.attribute.fc | ||
+ - source: iec61850.attribute.name | ||
+ edge: has_datatype | ||
+ target: iec61850.attribute.datatype | ||
+ - source: iec61850.attribute.name | ||
+ edge: has_value | ||
+ target: iec61850.attribute.value | ||
repeatable: true | ||
plugin: iec61850 | ||
additional_info: |
39 changes: 39 additions & 0 deletions
39
...t/files/patch-iec61850_data_abilities_collection_30419718-6f7c-3eab-8b06-ed6cea7858c7.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- iec61850/data/abilities/collection/30419718-6f7c-3eab-8b06-ed6cea7858c7.yml.orig 2024-02-18 18:34:52 UTC | ||
+++ iec61850/data/abilities/collection/30419718-6f7c-3eab-8b06-ed6cea7858c7.yml | ||
@@ -102,6 +102,36 @@ | ||
- source: iec61850.attribute.name | ||
edge: has_datatype | ||
target: iec61850.attribute.value | ||
+ freebsd: | ||
+ sh: | ||
+ command: './iec61850_actions_freebsd get data_set_members #{iec61850.dataset.name} | ||
+ #{iec61850.server.ip}' | ||
+ payloads: | ||
+ - iec61850_actions_freebsd | ||
+ timeout: 360 | ||
+ parsers: | ||
+ plugins.iec61850.app.parsers.data_set: | ||
+ - source: iec61850.device.name | ||
+ edge: has_node | ||
+ target: iec61850.node.name | ||
+ - source: iec61850.device.name | ||
+ edge: has_dataset | ||
+ target: iec61850.dataset.name | ||
+ - source: iec61850.node.name | ||
+ edge: has_object | ||
+ target: iec61850.object.name | ||
+ - source: iec61850.object.name | ||
+ edge: has_attribute | ||
+ target: iec61850.attribute.name | ||
+ - source: iec61850.attribute.name | ||
+ edge: has_fc | ||
+ target: iec61850.attribute.fc | ||
+ - source: iec61850.attribute.name | ||
+ edge: has_datatype | ||
+ target: iec61850.attribute.datatype | ||
+ - source: iec61850.attribute.name | ||
+ edge: has_datatype | ||
+ target: iec61850.attribute.value | ||
repeatable: true | ||
plugin: iec61850 | ||
additional_info: |
15 changes: 15 additions & 0 deletions
15
...t/files/patch-iec61850_data_abilities_collection_4c1138da-50b9-3744-99ea-1310690f2743.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- iec61850/data/abilities/collection/4c1138da-50b9-3744-99ea-1310690f2743.yml.orig 2024-02-18 18:34:52 UTC | ||
+++ iec61850/data/abilities/collection/4c1138da-50b9-3744-99ea-1310690f2743.yml | ||
@@ -30,6 +30,12 @@ | ||
payloads: | ||
- iec61850_actions | ||
timeout: 360 | ||
+ freebsd: | ||
+ sh: | ||
+ command: './iec61850_actions_freebsd get log #{iec61850.lcb.name} #{iec61850.server.ip}' | ||
+ payloads: | ||
+ - iec61850_actions_freebsd | ||
+ timeout: 360 | ||
repeatable: true | ||
plugin: iec61850 | ||
additional_info: |
30 changes: 30 additions & 0 deletions
30
...t/files/patch-iec61850_data_abilities_collection_6ac44da4-f546-3e33-be1a-829b173b660f.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- iec61850/data/abilities/collection/6ac44da4-f546-3e33-be1a-829b173b660f.yml.orig 2024-02-18 18:34:52 UTC | ||
+++ iec61850/data/abilities/collection/6ac44da4-f546-3e33-be1a-829b173b660f.yml | ||
@@ -55,6 +55,20 @@ | ||
- source: iec61850.node.name | ||
edge: has_object | ||
target: iec61850.object.name | ||
+ freebsd: | ||
+ sh: | ||
+ command: './iec61850_actions_freebsd get data_objects #{iec61850.node.name} #{iec61850.server.ip}' | ||
+ payloads: | ||
+ - iec61850_actions_freebsd | ||
+ timeout: 360 | ||
+ parsers: | ||
+ plugins.iec61850.app.parsers.data_model: | ||
+ - source: iec61850.device.name | ||
+ edge: has_node | ||
+ target: iec61850.node.name | ||
+ - source: iec61850.node.name | ||
+ edge: has_object | ||
+ target: iec61850.object.name | ||
repeatable: true | ||
plugin: iec61850 | ||
additional_info: | ||
@@ -64,4 +78,4 @@ | ||
description: Name of a logical node | ||
iec61850.server.ip: | ||
default: null | ||
- description: IP address of the server | ||
\ No newline at end of file | ||
+ description: IP address of the server |
32 changes: 32 additions & 0 deletions
32
...t/files/patch-iec61850_data_abilities_collection_9f7757da-1da9-3b35-90f3-fdab578be198.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- iec61850/data/abilities/collection/9f7757da-1da9-3b35-90f3-fdab578be198.yml.orig 2024-02-18 18:34:52 UTC | ||
+++ iec61850/data/abilities/collection/9f7757da-1da9-3b35-90f3-fdab578be198.yml | ||
@@ -80,6 +80,29 @@ | ||
- source: iec61850.device.name | ||
edge: has_lcb | ||
target: iec61850.lcb.name | ||
+ freebsd: | ||
+ sh: | ||
+ command: './iec61850_actions_freebsd get log_blocks #{iec61850.server.ip}' | ||
+ payloads: | ||
+ - iec61850_actions_freebsd | ||
+ timeout: 360 | ||
+ parsers: | ||
+ plugins.iec61850.app.parsers.lcb: | ||
+ - source: iec61850.attribute.name | ||
+ edge: has_fc | ||
+ target: iec61850.attribute.fc | ||
+ - source: iec61850.attribute.name | ||
+ edge: has_datatype | ||
+ target: iec61850.attribute.datatype | ||
+ - source: iec61850.attribute.name | ||
+ edge: has_value | ||
+ target: iec61850.attribute.value | ||
+ - source: iec61850.device.name | ||
+ edge: has_node | ||
+ target: iec61850.node.name | ||
+ - source: iec61850.device.name | ||
+ edge: has_lcb | ||
+ target: iec61850.lcb.name | ||
repeatable: true | ||
plugin: iec61850 | ||
additional_info: |
15 changes: 15 additions & 0 deletions
15
...t/files/patch-iec61850_data_abilities_collection_a0718ea1-9f55-3e24-b81a-c03f15eb89c2.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- iec61850/data/abilities/collection/a0718ea1-9f55-3e24-b81a-c03f15eb89c2.yml.orig 2024-02-18 18:34:52 UTC | ||
+++ iec61850/data/abilities/collection/a0718ea1-9f55-3e24-b81a-c03f15eb89c2.yml | ||
@@ -29,6 +29,12 @@ | ||
payloads: | ||
- iec61850_actions | ||
timeout: 360 | ||
+ freebsd: | ||
+ sh: | ||
+ command: './iec61850_actions_freebsd get files #{iec61850.server.ip}' | ||
+ payloads: | ||
+ - iec61850_actions_freebsd | ||
+ timeout: 360 | ||
repeatable: true | ||
plugin: iec61850 | ||
additional_info: |
29 changes: 29 additions & 0 deletions
29
...t/files/patch-iec61850_data_abilities_collection_bbb3e7dc-3103-3ae9-9a77-6eb789cb3a07.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- iec61850/data/abilities/collection/bbb3e7dc-3103-3ae9-9a77-6eb789cb3a07.yml.orig 2024-02-18 18:34:52 UTC | ||
+++ iec61850/data/abilities/collection/bbb3e7dc-3103-3ae9-9a77-6eb789cb3a07.yml | ||
@@ -75,6 +75,26 @@ | ||
- source: iec61850.attribute.name | ||
edge: has_fc | ||
target: iec61850.attribute.fc | ||
+ freebsd: | ||
+ sh: | ||
+ command: './iec61850_actions_freebsd get data_attributes #{iec61850.object.name} #{iec61850.server.ip}' | ||
+ payloads: | ||
+ - iec61850_actions_freebsd | ||
+ timeout: 360 | ||
+ parsers: | ||
+ plugins.iec61850.app.parsers.data_model: | ||
+ - source: iec61850.device.name | ||
+ edge: has_node | ||
+ target: iec61850.node.name | ||
+ - source: iec61850.node.name | ||
+ edge: has_object | ||
+ target: iec61850.object.name | ||
+ - source: iec61850.object.name | ||
+ edge: has_attribute | ||
+ target: iec61850.attribute.name | ||
+ - source: iec61850.attribute.name | ||
+ edge: has_fc | ||
+ target: iec61850.attribute.fc | ||
repeatable: true | ||
plugin: iec61850 | ||
additional_info: |
20 changes: 20 additions & 0 deletions
20
...t/files/patch-iec61850_data_abilities_collection_f9308f14-e0d3-389e-9d77-ff2be9c3f34f.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- iec61850/data/abilities/collection/f9308f14-e0d3-389e-9d77-ff2be9c3f34f.yml.orig 2024-02-18 18:34:52 UTC | ||
+++ iec61850/data/abilities/collection/f9308f14-e0d3-389e-9d77-ff2be9c3f34f.yml | ||
@@ -46,6 +46,17 @@ | ||
- source: iec61850.device.name | ||
edge: has_node | ||
target: iec61850.node.name | ||
+ freebsd: | ||
+ sh: | ||
+ command: './iec61850_actions_freebsd get logical_nodes #{iec61850.device.name} #{iec61850.server.ip}' | ||
+ payloads: | ||
+ - iec61850_actions_freebsd | ||
+ timeout: 360 | ||
+ parsers: | ||
+ plugins.iec61850.app.parsers.data_model: | ||
+ - source: iec61850.device.name | ||
+ edge: has_node | ||
+ target: iec61850.node.name | ||
repeatable: true | ||
plugin: iec61850 | ||
additional_info: |
18 changes: 18 additions & 0 deletions
18
...t/files/patch-iec61850_data_abilities_collection_fb81314b-0308-3761-b764-e523645e8df6.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- iec61850/data/abilities/collection/fb81314b-0308-3761-b764-e523645e8df6.yml.orig 2024-02-18 18:34:52 UTC | ||
+++ iec61850/data/abilities/collection/fb81314b-0308-3761-b764-e523645e8df6.yml | ||
@@ -38,6 +38,15 @@ | ||
parsers: | ||
plugins.iec61850.app.parsers.data_model: | ||
- source: iec61850.device.name | ||
+ freebsd: | ||
+ sh: | ||
+ command: './iec61850_actions_freebsd get logical_devices #{iec61850.server.ip}' | ||
+ payloads: | ||
+ - iec61850_actions_freebsd | ||
+ timeout: 360 | ||
+ parsers: | ||
+ plugins.iec61850.app.parsers.data_model: | ||
+ - source: iec61850.device.name | ||
repeatable: true | ||
plugin: iec61850 | ||
additional_info: |
Oops, something went wrong.