Developer Tools

PyJmespath

Third-party Python package module — jmespath. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.ast.and_expression()Neutral
#
Signature
ast.and_expression(left, right)

ast.and_expression function.

.ast.comparator()Neutral
#
Signature
ast.comparator(name, first, second)

ast.comparator function.

.ast.current_node()Neutral
#
Signature
ast.current_node()

ast.current_node function.

.ast.expref()Neutral
#
Signature
ast.expref(expression)

ast.expref function.

.ast.field()Neutral
#
Signature
ast.field(name)

ast.field function.

.ast.filter_projection()Neutral
#
Signature
ast.filter_projection(left, right, comparator)

ast.filter_projection function.

.ast.flatten()Neutral
#
Signature
ast.flatten(node)

ast.flatten function.

.ast.function_expression()Neutral
#
Signature
ast.function_expression(name, args)

ast.function_expression function.

.ast.identity()Neutral
#
Signature
ast.identity()

ast.identity function.

.ast.index()Neutral
#
Signature
ast.index(index)

ast.index function.

Fully-Qualified Names

FQNField
jmespathfqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

rule.py
import jmespath