[
https://issues.apache.org/jira/browse/NIFI-3726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15985778#comment-15985778
]
ASF GitHub Bot commented on NIFI-3726:
--------------------------------------
Github user alopresto commented on a diff in the pull request:
https://github.com/apache/nifi/pull/1692#discussion_r113590955
--- Diff:
nifi-nar-bundles/nifi-cybersecurity-bundle/nifi-cybersecurity-processors/src/main/java/org/apache/nifi/processors/cybersecurity/FuzzyHashContent.java
---
@@ -178,11 +161,11 @@ public void process(final InputStream in) throws
IOException {
try (ByteArrayOutputStream holder = new
ByteArrayOutputStream()) {
StreamUtils.copy(in,holder);
- if
(context.getProperty(HASH_ALGORITHM).getValue().equals(allowableValueSSDEEP.getValue()))
{
+ if
(algorithm.equals(allowableValueSSDEEP.getValue())) {
--- End diff --
These can probably be extracted to the interface as well.
> Create FuzzyHash comparison processor
> -------------------------------------
>
> Key: NIFI-3726
> URL: https://issues.apache.org/jira/browse/NIFI-3726
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Andre F de Miranda
> Assignee: Andre F de Miranda
>
> Now that NiFi cyber-security package supports "Fuzzy Hashing" it may be a
> good idea to support a processor that makes use of it for comparison and
> routing of matches
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)