Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

analyzer: Allow for data to be provided #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 24, 2021

  1. analyzer: Allow for data to be provided

    If the user has the file content in a buffer it is more efficient to be
    able to hand it to the analyzer directly instead of writing it out into
    a temporary file just to be read back in again by the requests module.
    Add an observable key 'dataProvided' which can be set to True to change
    behaviour of run_by_id() and in turn run_by_name() so it uses the 'data'
    key as observable data directly instead of interpreting it as a file
    name and opening that file.
    
    Signed-off-by: Michael Weiser <[email protected]>
    michaelweiser committed Nov 24, 2021
    Configuration menu
    Copy the full SHA
    e12a4a6 View commit details
    Browse the repository at this point in the history