Documentation
¶
Overview ¶
A Workflow Run Fact in StackGuardian is data generated by a Workflow Run, such as Policy Evaluations, Cost Estimations, Resource Drifts, or Resources Deployed.
For more details, please refer to [this discussion](https://github.com/orgs/StackGuardian/discussions/109).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(opts ...option.RequestOption) *Client
func (*Client) ReadWorkflowRunFacts ¶
func (c *Client) ReadWorkflowRunFacts( ctx context.Context, org string, wf string, wfGrp string, wfRun string, wfRunFacts string, opts ...option.RequestOption, ) (map[string]interface{}, error)
Get workflow run facts details inside a workflow.
This endpoint returns a signed URL which can be used to get the full contents of the workflow run facts. This signed URL is valid for 60 minutes. After expiration, you can request a new signed URL by calling this endpoint again.
For more information, please refer to [this discussion](https://github.com/StackGuardian/feedback/discussions/109).