Skip to main content

Python app to read CISA Software Acquisition Guide Spreadsheets based on CISA format https://cisa.gov/sag

Project description

CISASAGReader

Python app to read CISA Software Acquisition Guide Spreadsheets based on CISA format https://cisa.gov/sag

Installation

You may use pip or pipx (https://pipx.pypa.io/stable/) to install the CISASAGReader.

We recommend installing it with pipx for ease of use after installation.

Simply run pipx install sag-reader.

Use

Assuming that you installed the CISASAGReader with pipx, running it is as simple as running sag-reader from the command line.

To get information on usage, simple run sag-reader --help.

Output

The CISASAGReader will parse Excel files (.xlsx and .xls) in the CISA format. It will remove those answers that the spreadsheet indicates do not have to be answered to reduce overall noise.

Output is human-readable by default. However, the sag-reader application can also be used to produce output in a JSON format that may be used in downstream processing, such as automated risk analysis, datalake inclusion for population analysis, or simple inclusion in a database for electronic recall and display. For example: sag-reader spreadsheet.xls json

JSON output is hierarchical by CONTROL or TASK, then the designator broken up by its components. Leaf values in the resultant tree are the values entered on the spreadsheet.

Descriptions are not included in the JSON output or the human-readable output by default. They may be turned on for the human-readable output, for example: sag-reader --include-descriptions spreadsheet.xls

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sag_reader-1.0.2.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sag_reader-1.0.2-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file sag_reader-1.0.2.tar.gz.

File metadata

  • Download URL: sag_reader-1.0.2.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for sag_reader-1.0.2.tar.gz
Algorithm Hash digest
SHA256 14082f09e5971c3f8a70507e8dcd6d2eb1c534e17ad3b4083ac9609ca2fafc25
MD5 011ab25fa77ea88b7587987c74c170ab
BLAKE2b-256 9f7e1ae2eb570624534cd4e0cce7883d6b1226b11aab163a6784d247ade2e8dc

See more details on using hashes here.

File details

Details for the file sag_reader-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: sag_reader-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for sag_reader-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 417e7326caeae09f32a9a38abb4b98a6447a164e15c3e050452615b8b5483c25
MD5 165982c083c4e5c984a3feb4064f133c
BLAKE2b-256 143b43d02e6d8d808e620045823804964f6843a21fab03f3bc59652a49a1a946

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page