Lightning.DataclipScrubber (Lightning v2.15.0-pre5)
View SourceHandles scrubbing of dataclips
Summary
Functions
Returns an Ecto query for credentials (with project env) used in the same run or earlier steps.
Returns webhook auth methods for an http_request dataclip by traversing: dataclip -> work_order -> trigger -> webhook_auth_methods
Returns webhook auth methods for a step by traversing: step -> run_step -> run -> work_order -> trigger -> webhook_auth_methods
Functions
Returns an Ecto query for credentials (with project env) used in the same run or earlier steps.
Uses a self-join on RunStep to leverage existing indexes.
@spec scrub_dataclip_body!(%{body: String.t() | nil, type: atom(), id: Ecto.UUID.t()}) :: String.t() | nil
Returns webhook auth methods for an http_request dataclip by traversing: dataclip -> work_order -> trigger -> webhook_auth_methods
Returns webhook auth methods for a step by traversing: step -> run_step -> run -> work_order -> trigger -> webhook_auth_methods