ports/security/caldera-ot/files/patch-iec61850_data_abilities_impair-process-control_dd9c8deb-be48-3ad0-b5f5-bf4976cb1d1e.yml
Jose Alonso Cardenas Marquez bcbfdaebbc
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
2024-02-18 19:35:31 -05:00

33 lines
1.4 KiB
YAML

--- iec61850/data/abilities/impair-process-control/dd9c8deb-be48-3ad0-b5f5-bf4976cb1d1e.yml.orig 2024-02-18 18:41:37 UTC
+++ iec61850/data/abilities/impair-process-control/dd9c8deb-be48-3ad0-b5f5-bf4976cb1d1e.yml
@@ -85,6 +85,30 @@
- source: iec61850.attribute.name
edge: has_value
target: iec61850.attribute.value
+ freebsd:
+ sh:
+ command: './iec61850_actions_freebsd set #{iec61850.attribute.name} --#{iec61850.attribute.datatype}
+ #{iec61850.attribute.newvalue} --fc #{iec61850.attribute.fc} #{iec61850.server.ip}'
+ payloads:
+ - iec61850_actions_freebsd
+ timeout: 360
+ parsers:
+ plugins.iec61850.app.parsers.write:
+ - 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
+ - source: iec61850.attribute.name
+ edge: has_value
+ target: iec61850.attribute.value
repeatable: true
plugin: iec61850
additional_info: