Git Product home page Git Product logo

assemblyline-incident-manager's People

Contributors

cccs-jp avatar cccs-kevin avatar ma5onic avatar omar2535 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

assemblyline-incident-manager's Issues

Downloader max_score doesn't work if submissions aren't done yet before running script

Downloader has an interesting case where the max_score doesn't work if the submissions jobs aren't done yet. Can be replicated by chaining the submitter -> downloader in a script and filtering for a max score where some files have a higher score and some files have a lower score. All files that were submitted in the job will be downloaded even though some files were clearly above the max_score

  • Seems to be because the script is making a query before waiting for all submissions are complete, then the script proceeds to download all files that were queried in the original query. However, a score for a submission isn't valid until the submission is complete.

Maybe it might be better to wait for all submissions to complete before making the query?

Downloader shows 0 submissions matching query on directory submissions

Downloader's query won't match properly on wildcards if quotations are included.

For example, I submit a directory called tests/. Then I run the downloader on the job I submitted. A part of the query generated when downloading is:

metadata.filename:"*\.\/tests*"

however, this will give 0 results. Instead, what works is to remove the quotation marks:

metadata.filename:*\.\/tests*

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.