-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
add a compliance_checks_resources
table
#141
Comments
Note: seems like some of the links are currently broken like |
I could pick this one (oldest one with tag technical-debt) but, to be sure what I'm doing, are we calling resource to an entity with fields So many questions, but I'd like to know prior to start doing (silly) things 😄 |
Awesome! Thanks for the help offer, let me try to provide more context and try to help with the questions. BTW there are no silly questions ;)
Yep.
Basically, a resource is any kind of URL + description that we can link to a specific check. This resource should be useful later on to provide more information to visionBoard users when trying to understand how that check works and how the mitigation works.
Technically, MITRE is a non-profit organization, and what we are interested in on visionBoard are the CWE (Common Weakness Enumerations) references, like CWE-308: Use of Single-factor Authentication. These provide a lot of context on what CWE is linked to the specific check that we built. Not all checks have CWE references. We inherited this column name from the spreadsheet, but it makes sense to update it to something more aligned with cwe. Note that one check can also be linked to multiple CWE(s).
This has changed a lot since I created this issue (now we have OpenPathfinder/openpathfinder.com as OpenPathfinder/website will be archived soon), but in general terms, we have an integration that clones this repo, and then runs the script Basically, that script uses the checks.json to create/update the check details (see). At the end of the process, we have the details section populated with these resources (example):
Yes, they are subject to change. But the most important thing is that the data shape will change from a plain object to an object that includes a list of resources, as now we might have multiple links for I will think that we can limit the scope of this ticket to include the changes in |
Thanks for the description @UlisesGascon , now I understand. |
Objective
In the spreadsheet we have multiple items for the columns (
MITRE
,Sources
andHow To
). Originally we believed that only one item was included, so when we pull the data to build the website (see) the information collected only includes one item per row(see).Ideally we can create a new table
compliance_checks_resources
and add this information linked to each compliance check, this change and population will be done using a population script (see)Pending actions
Step1
compliance_checks_resources
Step2
mitre_url
,how_to_url
andhow_to_description
fromcompliance_checks
tableexport-checks
script (see) to query the data from both tablespopulate-details
script as now the data has a different shape for the templates (see)Technical Notes
In the first version of the website you can find and script that was use to convert a dump html from Google spreadsheets to json, so you might save sometime to prepare the population data (ref)
The text was updated successfully, but these errors were encountered: