Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce GitHub DSP analysis rules (#2021)
* Bump version; update release history. * Add GitHub DSP policy file. * Fix broken functional test. * Add user-facing strings for SARIF2017. * Define rule id for SARIF2017. * Introduce SARIF2017.LocationsMustHaveRequiredProperties. * Add "valid" functional test for SARIF2017.LocationsMustHaveRequiredProperties. * Add "invalid" functional test for SARIF2017.LocationsMustHaveRequiredProperties. * Cover case where result.locations is empty. * Move location property bags up to expose JPointer bug. * Introduce Skimmer.EnabledByDefault * Skimmer: Populate DefaultConfiguration so it appears in rule metadata. * Don't execute default-disabled rules unless the configuration enables them. * Add first rule to policy file; add file to solution. * Add DSP XML config file. * Remove associated tool GUID from SARIF config file. * Update solution file for renamed policy file. * Adjust line numbers to fix test broken by JPointer bug. * Update a comment. * Rename misnamed resource strings. * Implement SARIF2018.InlineThreadFlowLocations. * Implement SARIF2019.RegionsMustProvideRequiredProperties. * Update policy files for SARIF2019. * Implement SARIF2020.ReviewArraysThatExceedConfigurableDefaults. * Fix broken formatted messages; improve messages. * Fix naming errors in policy files and a bug in SARIF2019. * Implement SARIF2021.LocationsMustBeRelativeUrisOrFilePaths. * Implement SARIF2022.ProvideCheckoutPath. * SARIF2017 now covers related locations. * SARIF2017: Add tests for relatedLocations. * SARIF2017: Really add relatedLocations logic this time. * Rename "policy" files to "config". * Protect SARIF1004 against a null ref. * Correct user-facing strings for SARIF2019 to match DSP behavior. * Improve user-facing strings for SARIF2021. * Avoid null ref in SARIF2022. * Implement SARIF2023.RelatedLocationsMustProvideRequiredProperties. * Update test for changed message. * Fix typo in summary comment. * Refactor SARIF2021 to prepare for related locations. * Apply SARIF2021 to related locations. Co-authored-by: Larry Golding <lgolding@comcast.net>
- Loading branch information