Comments (5)
There is a verified field on the Items table for doing something like this. I am going to use it in the gui for checking off manually checked items during an assessment. That might help for now.
from risu.
I did see that there were notes in the code about blacklist. Is this the same feature. I need to be able to mark some plugins so I can produce a report that has all results and then a follow-up report with the listed items removed as they have a remediation plan.
from risu.
How would I hook the verified field in the queries for results?
from risu.
So verified is nil by default, if you set it to false for false positives and true for correct results. you have 3 states u can check for
so if Item.first.verified == true u can add at the to report display or queries
where(:verified => true)
depending how you want to handle it.
from risu.
Tried the latter as follows and I get an error:
@hosts = Host.where('hosts.ip like ?', "10.11.72.%")
@host_ids = @hosts.map { |h| h.id }.flatten
@items = Item.where("host_id IN (?)", @host_ids).where(:verified => true)
Error: /usr/lib/ruby/gems/1.8/gems/prawn-layout-0.8.4/lib/prawn/table.rb:47:in table': data must be a non-empty, non-nil, two dimensional array of Prawn::Cells or strings /usr/lib/ruby/gems/1.8/gems/nessusdb-1.3/bin/../lib/nessusdb/prawn_templater.rb:31:in
generate'
(eval):134:in `generate'
from risu.
Related Issues (20)
- Unable to read font error HOT 2
- Data too long for column 'plugin_name' HOT 1
- SQL errors from most reports HOT 2
- SQL error when multiple OSs names are returned by Nessus for an host HOT 3
- VERY slow load speed HOT 16
- New XML elements HOT 3
- Trouble with Execute Summary template HOT 9
- risu's graphs template fails to generate, sqllite error HOT 3
- problem with risu in kali HOT 5
- New HostProperties attribute: UnsupportedProduct HOT 1
- Changing Risk Finding Colors HOT 32
- risu not installed in home directory HOT 2
- Risu won't stay installed on Kali HOT 13
- New XML element detected HOT 4
- New XML element: potential_vulnerability HOT 3
- New XML element. HOT 5
- Add support for attribute 'agent' HOT 7
- Support for multiple files and user-specified templates HOT 4
- Boolean fields stored as strings
- High instead of Critical items selected in findings_host.rb HOT 1
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 risu.