File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
javascript/frameworks/cap/src/sensitive-exposure Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -16,22 +16,6 @@ import advanced_security.javascript.frameworks.cap.CDS
1616import advanced_security.javascript.frameworks.cap.CAPLogInjectionQuery
1717import DataFlow:: PathGraph
1818
19- // /**
20- // * An entity instance obtained by the entity's namespace via `cds.entities`. e.g.
21- // *
22- // * ```javascript
23- // * const Service1 = cds.entities("sample.application.namespace");
24- // * ```
25- // */
26- // class EntityEntry extends DataFlow::CallNode {
27- // EntityEntry() { exists(CdsEntitiesCall c | c.getACall() = this) }
28- // /**
29- // * Gets the namespace that this entity belongs to.
30- // */
31- // string getNamespace() {
32- // result = this.getArgument(0).getALocalSource().asExpr().(StringLiteral).getValue()
33- // }
34- // }
3519EntityReferenceFromEntities entityAccesses ( string entityNamespace ) {
3620 entityNamespace = result .getEntitiesCallNamespace ( )
3721}
You can’t perform that action at this time.
0 commit comments