xccdfparser
Extensible parser for XCCDF Benchmark/Result XML files.
pip install xccdfparser
Produces a human-readable JSON from an incomprehensible XCCDF schema/result file:
For every TestResult tag in the input file,
-
Benchmark Details
- Benchmark ID
- Rule ID
- Title/Description
- Fixtext
-
Dictionary
- Metadata
- Timestamp
- Target Machine
- IP address(es)
- XCCDF Domain
- Results
- Rule ID
- Value
- Metadata
To run the parser on a file input.xml, just use:
xccdfparser -o output.json input.xml
OR
xccdfparser input.xml
Testing xccdfparser
To test the pre-built tox environments:
First, install tox if you don't have it:
pip install tox
Then in the package directory:
tox
Or for a specific environment:
tox -e py36
Metadata
Release files for xccdfparser 1.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| xccdfparser-1.5.1.tar.gz | 90.7 kB | Without provenance | Details for xccdfparser-1.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xccdfparser-1.5.1-py2-none-any.whl | Python 2 | none | any | Details for xccdfparser-1.5.1-py2-none-any.whl |
Total release size: 185.1 kB
Release files / xccdfparser-1.5.1.tar.gz
| Download URL | xccdfparser-1.5.1.tar.gz |
|---|---|
| Size | 90.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0b24bc6e39036f08f11e16994ccd7d60eeb3db10035f785fe9c9fc96cefe556c
|
|
BLAKE2b-256 checksum How to use checksums |
7be5cc67a18c845392c6245091d6869819fbf1216aba8326c2779f2f6d9ebe5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / xccdfparser-1.5.1-py2-none-any.whl
| Download URL | xccdfparser-1.5.1-py2-none-any.whl |
|---|---|
| Size | 94.4 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
bfeac1702264f97e2d3ba1f34aeeab9e3d1571c5e1159c8f7c217b6be6d29ffd
|
|
BLAKE2b-256 checksum How to use checksums |
bb643f4f3f00616d872e88204011cc9bb5401524b219778e6a88ba6495019ba1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for xccdfparser 1.5.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.