CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.1.2-dev (changelog, source)
Search

Member predicate ExternalApiUsedWithUntrustedData::Sink::getApiName

Gets a human-readable name for the external API which this value flows into.

This has the form of a pseudo-access path leading to the sink. Some ambiguity is tolerated in exchange for better readability here, as the user will typically have to scan over many irrelevant sinks in order to pick out the interesting ones.

string getApiName()