modifyBinaryField (ModifyBinaryField)

Takes two jsFuncs which enable the retrieval and modification of binaries within items in the stream. The first jsFunc will be applied to each item within the stream and should be used to isolate the binary to be manipulated, the second should apply any required mutations to the binary itself.

Class names

scala: code.model.flows.processors.utils.ModifyBinaryFieldScannable
javascript: code_model_flows_processors_utils_ModifyBinaryFieldScannable

Aliases

BinaryMutator, BinaryManipulator

Input type

scala.Nothing

Output type

scala.Nothing

Config

{"bindingHint":"Allows users to manipulate binaries by writing two JS Functions, one function to extract the target binary from the payload and the other function to apply any modifications.","categories":[{"defaultCollapsed":true,"fields":["testData","testDataTransformFunc","assertionFunc"],"name":"Testing"}],"fieldName":"modifyBinaryField","fields":[{"default":null,"fieldName":"modifyBinaryField.name","hidden":false,"hideLabel":false,"name":"name","readonly":false,"renderStrategies":[],"type":"S","validators":[]},{"default":"modifyBinaryField","fieldName":"modifyBinaryField.classPath","hidden":false,"hideLabel":false,"name":"classPath","readonly":false,"renderStrategies":[],"type":"S","validators":[]},{"default":null,"fieldName":"modifyBinaryField.testDataTransformFunc","hidden":false,"hideLabel":false,"name":"testDataTransformFunc","readonly":false,"renderStrategies":[],"type":"Js","validators":[]},{"default":"T1726099538934_F1639379864028J0G3YE","fieldName":"modifyBinaryField.id","hidden":false,"hideLabel":false,"name":"id","readonly":false,"renderStrategies":[],"type":"S","validators":[]},{"default":null,"fieldName":"modifyBinaryField.apply","hidden":false,"hideLabel":false,"name":"apply","readonly":false,"renderStrategies":[],"type":"Js","validators":[]},{"default":null,"fieldName":"modifyBinaryField.testData","hidden":false,"hideLabel":false,"name":"testData","readonly":false,"renderStrategies":[],"type":"Jv","validators":[]},{"default":null,"fieldName":"modifyBinaryField.assertionFunc","hidden":false,"hideLabel":false,"name":"assertionFunc","readonly":false,"renderStrategies":[],"type":"Js","validators":[]},{"default":null,"fieldName":"modifyBinaryField.extract","hidden":false,"hideLabel":false,"name":"extract","readonly":false,"renderStrategies":[],"type":"Js","validators":[]}],"hidden":false,"hideLabel":false,"label":"modifyBinaryField","name":"modifyBinaryField","readonly":false,"renderStrategies":[],"type":"O"}