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
C#: Remove Stored variants of queries
#15629
base: main
Are you sure you want to change the base?
C#: Remove Stored variants of queries
#15629
Conversation
Since `FlowSources` now re-exports `Remote`, these can be safely removed.
|
QHelp previews: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be great to get rid of these queries.
We also need to
- Remove the query
cs/second-order-sql-injection. - Remove the query tests for all the deleted queries.
| --- | ||
| category: majorAnalysis | ||
| --- | ||
| * The `Stored` variants of some queries (`cs/stored-command-line-injection`, `cs/web/stored-xss`, `cs/stored-ldap-injection`, `cs/xml/stored-xpath-injection`) have been removed. If you were using these queries, their results can be restored by enabling the `stored` threat model in your threat model settings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
settings -> configuration
| @@ -1,5 +1,5 @@ | |||
| --- | |||
| category: majorAnalysis | |||
| --- | |||
| * The `Stored` variants of some queries (`cs/stored-command-line-injection`, `cs/web/stored-xss`, `cs/stored-ldap-injection`, `cs/xml/stored-xpath-injection`) have been removed. If you were using these queries, their results can be restored by enabling the `stored` threat model in your threat model settings. | |||
| * The `Stored` variants of some queries (`cs/stored-command-line-injection`, `cs/web/stored-xss`, `cs/stored-ldap-injection`, `cs/xml/stored-xpath-injection`) have been removed. If you were using these queries, their results can be restored by enabling the `local` threat model in your threat model settings. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
local -> file and database. If local is added, other local sources will be added as well. We can recommend as a part of the change note to use local instead.
This is a follow-up to #15419. This removes the
Storedvariants of queries, as the results are now accessible by using thelocalthreat model.The affected queries are:
cs/stored-command-line-injectioncs/web/stored-xsscs/stored-ldap-injectioncs/xml/stored-xpath-injectionThis branch is currently based on #15419 in order to properly in the DCA run. The changes specific to this PR can be found here: 10077ba..780e034