Skip to content

Commit a0f6d9a

Browse files
committed
Remove unneeded code
1 parent 621a319 commit a0f6d9a

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

javascript/frameworks/cap/src/sensitive-exposure/SensitiveExposure.ql

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,6 @@ import advanced_security.javascript.frameworks.cap.CDS
1616
import advanced_security.javascript.frameworks.cap.CAPLogInjectionQuery
1717
import 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-
// }
3519
EntityReferenceFromEntities entityAccesses(string entityNamespace) {
3620
entityNamespace = result.getEntitiesCallNamespace()
3721
}

0 commit comments

Comments
 (0)