Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Latest commit

 

History

History
56 lines (40 loc) · 2.32 KB

README.md

File metadata and controls

56 lines (40 loc) · 2.32 KB

assessment-data-export 🚀

GitHub Build Status CodeQL Coverage Status Known Vulnerabilities

assessment-data-export contains code to export assessment data from a Jira server and upload that data to an AWS S3 bucket as a JSON file.

Our terraform code to create the S3 bucket can be found in https://github.com/cisagov/assessment-data-import-terraform

Usage

To run this script, you first must create a file with the credentials needed to access your Jira server. It's a best practice to use a dedicated Jira account that has only the permissions needed to access the data to be exported. The Jira credentials file has the following simple format:

my_jira_username
my_jira_password

Issue the following command to run the script:

src/ade/assessment_data_export.py --jira-base-url=https://my-jira-server
--jira-credentials-file=my_jira_creds.txt --jira-filter=12345
--s3-bucket=my-bucket --output-filename=assessment-data.json

To get help information on the command line arguments, run:

./assessment_data_export.py -h

Contributing

We welcome contributions! Please see CONTRIBUTING.md for details.

License

This project is in the worldwide public domain.

This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.

All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.