File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
javascript/frameworks/cap
lib/advanced_security/javascript/frameworks/cap
src/bad-authn-authz/EntityExposedWithoutAuthn Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,11 @@ class CdlDefinition extends JsonObject {
24
24
}
25
25
26
26
abstract class CdlElement extends JsonObject {
27
+ string getURL ( ) {
28
+ result =
29
+ "file://" + this .getFile ( ) .getAbsolutePath ( ) .regexpReplaceAll ( ".cds.json$" , ".cds" )
30
+ }
31
+
27
32
CdlKind kind ;
28
33
string name ;
29
34
Original file line number Diff line number Diff line change 27
27
cdlElement instanceof CdlElementWithoutJsAuthn and
28
28
cdlElement instanceof CdlElementWithoutCdsAuthn
29
29
select cdlElement ,
30
- "This " + getClickableText ( cdlElement ) + " is exposed without any authentication."
30
+ "The " + getClickableText ( cdlElement ) + " `" + cdlElement .getName ( ) +
31
+ "` is exposed without any authentication."
You can’t perform that action at this time.
0 commit comments