Comments (4)
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:
- Run your collection scan
- 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: - 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.
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.
Thank you for the quick response! Need some clarification with the command for the steps (especially #3 and #4),
- On Machine 1, run "Asa.exe collect -a --databasefilename scan.sqllite --shards 1"
- Copy scan.sqllite to Machine 2 to the path where asa.exe tool will run from
- On Machine 2, run "Asa.exe collect -a --databasefilename scan.sqllite --shards 1"
- asa.exe export-collect <how to pass the database file as input?>
from attacksurfaceanalyzer.
Considering this closed with moving the database. Please reach out again or reopen if you encounter any other issues.
from attacksurfaceanalyzer.
Related Issues (20)
- Re-Validate Rules automatically on change
- Improve write speed by changing serialized data format
- Reduce size of analysis stored in db
- Flag Zip files that are also jpegs
- Binary files getting labeled as missing DEP/ASLR/SIGN related flags HOT 4
- Report collection errors in collected objects HOT 1
- Show console output in gui
- Sarif Report Doesn't Load Properly in VS Code
- How to change the port used HOT 3
- What are the resultslevel options? HOT 8
- In Use files are getting labeled as missing DEP/ASLR/SIGN related flags HOT 5
- Add Export Sarif Button to GUI HOT 5
- Track Exceptions when Gathering Info
- Cannot detect registry created, deleted and modified by myself. HOT 10
- Win 7 HOT 2
- GUI does not show editable field for Editing Analyses or Sandbox
- After update to 2.3.305: Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 13: 'database or disk is full' HOT 9
- GitHub Pages Doc Publication Is Failing
- Out of Memory Error during Analysis Step HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from attacksurfaceanalyzer.