Comments (3)
Hey @caderob, it looks like you're trying to reference observationday
as a foreign key on the Observation
table. You'd have to add your observationday
table to the database and create a foreign key field on the Observation
table. If this is meant to be the date you added the observation to the report, you can add a timestamp field that tracks that.
To group by day like findings are grouped by severity, you'd also need to create a custom filter like the one used for findings (e.g., group_by_severity
). You need the equivalent of this for sorting by "observation day":
{% group_by_severity report.reportfindinglink_set.all as severity_groups %}
{% for group, values in severity_groups.items %}
As for the DREAD scoring, the built-in calculator uses CVSS v3 for now. There is a PR in progress to add CVSS v4. DREAD isn't planned, but I'd consider a PR for it if someone had the time to add it.
from ghostwriter.
Thanks for the input! I added 'observation_day' to the Observation table and I can see it has a 'null' value when I export my report to json, so that worked!
Now, I'm trying to update the front end Observation form to allow the user to enter the Observation Date before or after the Observation Description in a date format way like the image attached.
Could you help me figure out which file/s to amend to add an additional date field on the front end under each Observation?
Thanks!
from ghostwriter.
Take a look at the other forms with date fields. You can copy one of those, like the start date field configuration from the project form. You'll add your new date field to the observation form.
from ghostwriter.
Related Issues (20)
- Jira Api Support HOT 2
- List Machine Status in Cloud Review Notifications HOT 2
- (Feature Request) Collaboration Features (comments on findings; tracked changes) HOT 8
- Severity levels not defined amongst variables for export HOT 2
- Issue with v4.1 and extra fields HOT 4
- Oplog start_time and end_time format missing timezone offset. HOT 1
- Report template types are broken HOT 5
- Generate DOCX report broken for existing findings with empty affected entities HOT 4
- Finding with SSTI payload in replication steps (as inline code), prevents report generation HOT 2
- No route found... Username incudes `-` HOT 1
- Cross-references broken when ref includes special characters (e.g., hyphens or underscores) HOT 6
- Release domains task not working HOT 3
- Extra Fields UI Screen Readability Improvement HOT 1
- Header bookmarks HOT 1
- Space gets stripped in front of hyperlink
- `modules.reportwriter.richtext.plain_text.py` data-gw-evidence not replaced in output
- Dropdown option for Extra Fields
- Select Caption Type for Evidence
- WYSIWYG editor evidence ref AutoComplete
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 ghostwriter.