rule_evaluation

Protocol buffer definition for rule_evaluation

sift/rule_evaluation/v1/rule_evaluation.proto

AssetsTimeRange

EvaluateRulesAnnotationOptions

FieldTypeLabelDescription
tagssift.common.type.v1.NamedResources

EvaluateRulesFromCurrentRuleVersions

FieldTypeLabelDescription
rulessift.common.type.v1.ResourceIdentifiers

EvaluateRulesFromReportTemplate

FieldTypeLabelDescription
report_templatesift.common.type.v1.ResourceIdentifier

EvaluateRulesFromRuleConfigs

FieldTypeLabelDescription
configssift.rules.v1.UpdateRuleRequestrepeated

EvaluateRulesFromRuleVersions

FieldTypeLabelDescription
rule_version_idsstringrepeated

EvaluateRulesPreviewRequest

FieldTypeLabelDescription
runsift.common.type.v1.ResourceIdentifier
rulesEvaluateRulesFromCurrentRuleVersions
rule_versionsEvaluateRulesFromRuleVersions
report_templateEvaluateRulesFromReportTemplate
rule_configsEvaluateRulesFromRuleConfigs
organization_idstringOnly required if your user belongs to multiple organizations

EvaluateRulesPreviewResponse

FieldTypeLabelDescription
created_annotation_countint32
dry_run_annotationssift.rules.v1.DryRunAnnotationrepeated

EvaluateRulesRequest

FieldTypeLabelDescription
runsift.common.type.v1.ResourceIdentifier
assetsAssetsTimeRange
rulesEvaluateRulesFromCurrentRuleVersions
rule_versionsEvaluateRulesFromRuleVersions
report_templateEvaluateRulesFromReportTemplate
annotation_optionsEvaluateRulesAnnotationOptions
organization_idstringOnly required if your user belongs to multiple organizations
report_namestringoptionalIf this request creates a report, this field will be used as the report name.

EvaluateRulesResponse

FieldTypeLabelDescription
created_annotation_countint32
report_idstringoptionalA report will be generated if rules were evaluated against a run.
job_idstringoptionalThis will be set if the job has an extended run time and is being processed asynchronously.

RuleEvaluationService

Method NameRequest TypeResponse TypeDescription
EvaluateRulesEvaluateRulesRequestEvaluateRulesResponseEvaluate rules from a designated source against a run or asset and return the total amount of annotations created and the ID of the generated report.
EvaluateRulesPreviewEvaluateRulesPreviewRequestEvaluateRulesPreviewResponsePerform a dry run evaluation for existing rules or rule configurations against a run and return the annotations that would be generated.

On this page