You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Probes currently collect their raw data from the underlying checks, so in the current implementation they would require similar requiredRequestTypes (e.g. checker.CommitBased or checker.FileBased).
Since probes are more granular, these probes may not have the same restrictions as the checks. E.g. a probe may operate on file only content, whereas the check its associated with might have other probes that need more than file content.
The text was updated successfully, but these errors were encountered:
In this PR we have the following snippet:
enabledChecks, err := policy.GetEnabled(pol, o.Checks(), requiredRequestTypes) if err != nil { return fmt.Errorf("GetEnabled: %w", err) } + enabledProbes := o.Probes()
Probes currently collect their raw data from the underlying checks, so in the current implementation they would require similar
requiredRequestTypes
(e.g.checker.CommitBased
orchecker.FileBased
).Since probes are more granular, these probes may not have the same restrictions as the checks. E.g. a probe may operate on file only content, whereas the check its associated with might have other probes that need more than file content.
The text was updated successfully, but these errors were encountered: