Comments (5)
Ah ha! I had some folks mentions python-docx-template to me again recently and I forgot why it was already on my mind.
PR #66 has implemented template customization. The new template.docx in the repo is a decent example of a basic template. It's not documented yet, but Ghostwriter will continue to build on this foundation. The basics are covered in the documentation for https://github.com/elapouya/python-docx-template. The Ghostwriter project will have some of its own options that will be documented as we move forwarded.
For now, customization uses the python-docx-template Jinja2 tags (as documented within that project) and a {{p findings_subdoc }}
variable that drops in the findings as a sub-document.
from ghostwriter.
We do have plans for something like this. It's a lower priority than what we're working on now (see your idea from issue #27). The key reason being that additional logging will undoubtedly change how we look at report generation. I expect we will hash out details for both enhancements in January.
from ghostwriter.
An alternative that might be also interesting, at least for docx reports, would be to use something like https://github.com/elapouya/python-docx-template, which is based on the templating language Jinja2.
from ghostwriter.
Ah, interesting... thanks for sharing that. We use python-docx, so perhaps this might be useful.
from ghostwriter.
Awesome, thanks a lot for the good work! I'll try it out later
from ghostwriter.
Related Issues (20)
- To do list functionality HOT 2
- Provide access to upload / choose finding type icons HOT 2
- Link style HOT 1
- Support ODT format for report templates HOT 1
- Search for Findings in Reports HOT 3
- Format Evidence Files HOT 2
- 'NoneType' error for Fetching NameCheap Domains HOT 2
- Failed new installation HOT 2
- Add Description to Extra Fields HOT 7
- Keep Findings as Default Tab for Report HOT 2
- Namecheap Update Does Not Fail on IP Whitelisting Error HOT 2
- 2FA Does not seem to work HOT 2
- Failed to RE-install the GhostWriter on Ubuntu HOT 1
- EVIDENCE PICTURES ATTACHED NOT SHOWING UP IN THE REPORT
- Jira Api Support
- List Machine Status in Cloud Review Notifications HOT 1
- (Feature Request) Collaboration Features (comments on findings; tracked changes) HOT 1
- Severity levels not defined amongst variables for export
- Issue with v4.1 and extra fields HOT 4
- Oplog start_time and end_time format missing timezone offset.
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.