You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/codemodder-plugin-appscan/src/main/java/io/codemodder/providers/sarif/appscan/AppScanRuleSarif.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -107,9 +107,9 @@ public SarifSchema210 rawDocument() {
107
107
}
108
108
109
109
/**
110
-
* This returns the "ruleId" element, which has a value like "SA2813462719". The "message[text]"
111
-
* field has a more human-readable value like "SQL Injection". To stay aligned with other tools
112
-
* that use a more strict ID, we use the rule ID.
110
+
* This returns the "message[text]" field from the SARIF results. This is a human-readable value
111
+
* like "SQL Injection". We would ordinarily use this as the rule ID but this value is different
112
+
* each time we retrieve the SARIF for a given scan
Copy file name to clipboardExpand all lines: plugins/codemodder-plugin-appscan/src/main/java/io/codemodder/providers/sarif/appscan/ProvidedAppScanScan.java
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -14,5 +14,8 @@
14
14
public @interface ProvidedAppScanScan {
15
15
16
16
/** The AppScan rule name, which shows up as the "message text" in the SARIF results. */
17
-
StringruleName();
17
+
StringruleName() default"";
18
+
19
+
/** The AppScan rule names, which show up as the "message text" in the SARIF results. */
0 commit comments