Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion extensions/ql-vscode/src/data-extensions-editor/predicates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,16 @@ export const extensiblePredicateDefinitions: Record<
kind: row[7] as string,
},
}),
supportedKinds: ["sql", "xss", "logging"],
supportedKinds: [
"command-injection",
"html-injection",
"log-injection",
"response-splitting",
"path-injection",
"sql-injection",
"url-redirection",
"xpath-injection",
],
Comment on lines +85 to +94
Copy link
Copy Markdown
Contributor

@aeisenberg aeisenberg May 10, 2023

Choose a reason for hiding this comment

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

In the long term, we should be generating this list directly from the core libraries themselves. But this looks reasonable to me right now. I'll wait for the secexp team to approve this, since they are working on the feature.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@aeisenberg Makes complete sense and would be amazing to be done automatically.

},
summary: {
extensiblePredicate: "summaryModel",
Expand Down