Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.15 KB

File metadata and controls

35 lines (26 loc) · 1.15 KB

Rule

Properties

Name Type Description Notes
rule_id str rule's id [optional]
rule_type str rule type
evaluation_result str result of rule evaluation [optional]
predicates List[Predicate] list of rule's predicates [optional]
failure_type str rule failure type
description str rule description
failures List[RuleFailuresInner] list of rule failures [optional]

Example

from sysdig_client.models.rule import Rule

# TODO update the JSON string below
json = "{}"
# create an instance of Rule from a JSON string
rule_instance = Rule.from_json(json)
# print the JSON string representation of the object
print(Rule.to_json())

# convert the object into a dict
rule_dict = rule_instance.to_dict()
# create an instance of Rule from a dict
rule_from_dict = Rule.from_dict(rule_dict)

[Back to Model list] [Back to API list] [Back to README]