info
The Azul framework supports flexible data structures generated by plugins.
This can be used as input to downstream plugins, or for rendering custom UI components.
The data must be a JSON-compatible dict, or your plugin will fail with 'ERROR_OUTPUT'.
def execute():
self.add_info({
'malware_type': 'trojan',
'malware_family': 'ransomware',
'malware_details': {
'obfuscation_code': 0x1234,
'grouping': 'crimeware',
},
})
def execute():
# this will fail as 'bytes' is not json compatible
self.add_info({
'data': b'trojan',
})