Giter Club home page Giter Club logo

Comments (4)

gfs avatar gfs commented on June 3, 2024 1

I think you can do something similar with the the current version. As ASA runs it saves the data collected into an SQLite database, you can move that database to the other machine and run another collection.

For example:

On machine 1:

  1. Run your collection scan
  2. Copy all of the SQLite db shards (or set sharding factor to 1, so there's only one file to copy) to the second machine
    Then, on machine 2:
  3. Run the collection scan, using the same database you created in 1.

Then, take that database with records from both scans and on any machine with the db that contains both results:
4. Run export-collect to do the comparison

from attacksurfaceanalyzer.

gfs avatar gfs commented on June 3, 2024 1

That looks correct to me. The argument for export collect should be the same —databasefilename argument.

By default, if no run ids are provided to export collect it will export a comparison of the last two collection runs. If you don't want that behavior it's best to set run ids on the collect command and reference those with the export command.

A note: There’s a trade off here between collection performance and ease of transfer with choosing a single shard or multiple. In my testing (shown in the benchmarks in the repo if you want to check in your environment) collection performance is much higher with multiple shards, but it does mean you need to copy all the shards to the new location(s) if you want to use the db somewhere else.

from attacksurfaceanalyzer.

SavithaJagadish avatar SavithaJagadish commented on June 3, 2024

Thank you for the quick response! Need some clarification with the command for the steps (especially #3 and #4),

  1. On Machine 1, run "Asa.exe collect -a --databasefilename scan.sqllite --shards 1"
  2. Copy scan.sqllite to Machine 2 to the path where asa.exe tool will run from
  3. On Machine 2, run "Asa.exe collect -a --databasefilename scan.sqllite --shards 1"
  4. asa.exe export-collect <how to pass the database file as input?>

from attacksurfaceanalyzer.

gfs avatar gfs commented on June 3, 2024

Considering this closed with moving the database. Please reach out again or reopen if you encounter any other issues.

from attacksurfaceanalyzer.

Related Issues (20)

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.