Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #1623

Merged
merged 180 commits into from
Jun 13, 2021
Merged

Develop #1623

merged 180 commits into from
Jun 13, 2021

Conversation

davidpofo
Copy link
Contributor

No description provided.

govreadydeploy and others added 30 commits March 25, 2021 04:20
Create a simple System Assessment Result web server
generating JSON data object listing assessment summary
results that can be added to a system's assessment.

This provides a synthentic provider of SAR results data from
which we can test the UI for consuming SAR data.
Polish SAR summary page - use details tag, other improvements.
Polish SAR list page - include deployment name.

Wrap SAR test item to start to make more realistic SAR data.

Display assessment name in Assessment model admin list.
Misc improvements to sar generator and middleware.
Include description value for SAR wrapper.
Remove hardcoded values of system id and deployment id
from SAR middleware pipeline.
Pass as many values as possible in SAR wrapper object.
Properly handle UUID to string and back again
Post assessment to system without a deployment ID
Display project id, system id on project pages.
Add `tools/simple_sar_server/wazuh_etl.py` to
support Wazuh SCA results in SAR pipeline.

Display all summary values of a SAR result for
each inventory item using a loop and table.
Update stub_app used by complianca_app command
or generating compliance app to include "input" and "output" section;
and to have folders for templates, utils, and components.

Add in exceprtion for integrity error to eventually support
gracefully handling.
Implement impact level as a statement about a system of type "fisma_impact_level"
with imoact level in body. This continues idea that statements are
factual observations about a system.  Statement must be associated
with system.root_element and be consumed by root_element.
…ress the refresh documents button to see changes. Removing cache removal function.
davidpofo and others added 28 commits May 21, 2021 09:08
* make sure component_type not element_type is exported

* ssp versions should be floats not integers. Information types needs a uuid

* adding empty placeholders for the required keys.

* using updated for component version

* party-uuids is still a todo

* categorizations is still a todo

* parties is still a todo
…1602)

Refactor creating system control statements from component library
prototype statements when adding a component from the library to a system
and reduce by an order a magnitude the time it takes to add a component to system.

Rename smt.create_instance_from_prototype to smt.create_system_control_smt_from_component_prototype_smt

Fix bug breaking rendering of system's control detail page by
removing an errant login_required decorator on a function.
Add test for system control page. Will add test(s) for system control detail page.

Co-authored-by: Greg Elin <greg.elin@govready.com>
Performnce of document generation now sufficiently fast
to not require cache and manual "Refresh documents" button.
Automatically clear, refresh output document content downloading docs
…1605)

* Fixed an issue where statement didn't exist while exporting to oscal

* Update CHANGELOG

Co-authored-by: Alexander Ward <alexander.ward1@gmail.com>
Co-authored-by: Greg Elin <greg.elin@govready.com>
Co-authored-by: Greg Elin <greg.elin@govready.com>
* Accepts file uploads with capitalized extensions, e.g. ".JPG".

Adjust file upload validator to recognize capitalized extensions
and also recognizes ".jpeg" in addition to ".jpg".

* Add tests for validating uppercase extensions on file uploads

* Add test fixture data

Co-authored-by: Greg Elin <greg.elin@govready.com>
Implemented a faster way to update status of system controls.
When user sets a system component state to "operational" all statements
associated with that component for the system get their status set to
"Implemented". Similarly, setting component’s state to "planned" batch
sets all component statements for that system to "Planned", and
"under-development" sets component statements to "Partially Implemented".

Display system component component_state and component_type when
component is listed for a system.
Batch update cntl impl smts when component_statement changes
* export a projects ssp control implementations with export form

* remove comments

* Correct slugify import

* Security update Python 3.2.4 due to https://snyk.io/vuln/SNYK-PYTHON-DJANGO-1298665

* Polish SSP control CSV export form

Co-authored-by: Greg Elin <greg.elin@govready.com>
Co-authored-by: Greg Elin <greg.elin@govready.com>
Content-Security-Policy header permit images (*), videos youtube, vimeo
Force controls CSV to download to browser
* 'Back' link to question to take user to previous question

* Update guidedmodules/views.py

Refactor pulling back_url into project_form

Co-authored-by: davidpofo <dampofo@umd.edu>

* Improve back-button styling

Co-authored-by: Greg Elin <Greg Elin>
Co-authored-by: davidpofo <dampofo@umd.edu>
Co-authored-by: Greg Elin <greg.elin@govready.com>
* created checkbox and form for submitting components for comparison. created rough start for displaying differences between prime component and rest

* for now just implementing two comparison

* click to read full text after 50 chars

* styling and added Control part

* displaying comparisons for x number of component statements against the prime component. Styling and abstracted out the comparison block into an included template

* check for pid

* removing detail/summary not really necessary

* Condense comparison listings into rows of a single table

Co-authored-by: Greg Elin <Greg Elin>
Copy link
Contributor

@gregelin gregelin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! I updated VERSION and CHANGELOG

@gregelin gregelin merged commit 41c054a into main Jun 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants