Module SecurityHub.AutomationRule

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrule.html

type workflow_update = {
  1. status : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrule-workflowupdate.html

and map_filter = {
  1. comparison : string;
  2. value : string;
  3. key : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrule-mapfilter.html

and number_filter = {
  1. gte : float option;
  2. eq : float option;
  3. lte : float option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrule-numberfilter.html

and string_filter = {
  1. comparison : string;
  2. value : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrule-stringfilter.html

and note_update = {
  1. updated_by : Yojson.Safe.t;
  2. text : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrule-noteupdate.html

and severity_update = {
  1. normalized : int option;
  2. label : string option;
  3. product : float option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrule-severityupdate.html

and date_range = {
  1. value : float;
  2. unit : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrule-daterange.html

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrule-relatedfinding.html

and date_filter = {
  1. date_range : date_range option;
  2. start : string option;
  3. end_ : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrule-datefilter.html

and automation_rules_finding_fields_update = {
  1. types : string list option;
  2. confidence : int option;
  3. note : note_update option;
  4. verification_state : string option;
  5. related_findings : related_finding list option;
  6. workflow : workflow_update option;
  7. severity : severity_update option;
  8. user_defined_fields : string Stdlib__Map.Make(Stdlib.String).t option;
  9. criticality : int option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrule-automationrulesfindingfieldsupdate.html

and automation_rules_action = {
  1. type_ : string;
  2. finding_fields_update : automation_rules_finding_fields_update;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrule-automationrulesaction.html

and automation_rules_finding_filters = {
  1. product_arn : string_filter list option;
  2. source_url : string_filter list option;
  3. resource_details_other : map_filter list option;
  4. description : string_filter list option;
  5. product_name : string_filter list option;
  6. resource_tags : map_filter list option;
  7. first_observed_at : date_filter list option;
  8. created_at : date_filter list option;
  9. note_text : string_filter list option;
  10. last_observed_at : date_filter list option;
  11. user_defined_fields : map_filter list option;
  12. note_updated_at : date_filter list option;
  13. compliance_security_control_id : string_filter list option;
  14. company_name : string_filter list option;
  15. resource_region : string_filter list option;
  16. note_updated_by : string_filter list option;
  17. confidence : number_filter list option;
  18. resource_partition : string_filter list option;
  19. verification_state : string_filter list option;
  20. criticality : number_filter list option;
  21. severity_label : string_filter list option;
  22. related_findings_product_arn : string_filter list option;
  23. compliance_status : string_filter list option;
  24. generator_id : string_filter list option;
  25. record_state : string_filter list option;
  26. title : string_filter list option;
  27. resource_type : string_filter list option;
  28. compliance_associated_standards_id : string_filter list option;
  29. updated_at : date_filter list option;
  30. related_findings_id : string_filter list option;
  31. workflow_status : string_filter list option;
  32. type_ : string_filter list option;
  33. resource_id : string_filter list option;
  34. aws_account_id : string_filter list option;
  35. id : string_filter list option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrule-automationrulesfindingfilters.html

type properties = {
  1. description : string option;
  2. actions : automation_rules_action list option;
  3. is_terminal : bool option;
  4. rule_status : string option;
  5. criteria : automation_rules_finding_filters option;
  6. rule_order : int option;
  7. rule_name : string option;
  8. tags : string Stdlib__Map.Make(Stdlib.String).t option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrule.html;

val make_properties : ?description:string -> ?actions:automation_rules_action list -> ?is_terminal:bool -> ?rule_status:string -> ?criteria:automation_rules_finding_filters -> ?rule_order:int -> ?rule_name:string -> ?tags:string Stdlib__Map.Make(Stdlib.String).t -> unit -> properties
val make_workflow_update : status:string -> unit -> workflow_update
val make_map_filter : comparison:string -> value:string -> key:string -> unit -> map_filter
val make_number_filter : ?gte:float -> ?eq:float -> ?lte:float -> unit -> number_filter
val make_string_filter : comparison:string -> value:string -> unit -> string_filter
val make_note_update : updated_by:Yojson.Safe.t -> text:string -> unit -> note_update
val make_severity_update : ?normalized:int -> ?label:string -> ?product:float -> unit -> severity_update
val make_date_range : value:float -> unit:string -> unit -> date_range
val make_date_filter : ?date_range:date_range -> ?start:string -> ?end_:string -> unit -> date_filter
val make_automation_rules_finding_fields_update : ?types:string list -> ?confidence:int -> ?note:note_update -> ?verification_state:string -> ?related_findings:related_finding list -> ?workflow:workflow_update -> ?severity:severity_update -> ?user_defined_fields:string Stdlib__Map.Make(Stdlib.String).t -> ?criticality:int -> unit -> automation_rules_finding_fields_update
val make_automation_rules_action : type_:string -> finding_fields_update:automation_rules_finding_fields_update -> unit -> automation_rules_action
val make_automation_rules_finding_filters : ?product_arn:string_filter list -> ?source_url:string_filter list -> ?resource_details_other:map_filter list -> ?description:string_filter list -> ?product_name:string_filter list -> ?resource_tags:map_filter list -> ?first_observed_at:date_filter list -> ?created_at:date_filter list -> ?note_text:string_filter list -> ?last_observed_at:date_filter list -> ?user_defined_fields:map_filter list -> ?note_updated_at:date_filter list -> ?compliance_security_control_id:string_filter list -> ?company_name:string_filter list -> ?resource_region:string_filter list -> ?note_updated_by:string_filter list -> ?confidence:number_filter list -> ?resource_partition:string_filter list -> ?verification_state:string_filter list -> ?criticality:number_filter list -> ?severity_label:string_filter list -> ?related_findings_product_arn:string_filter list -> ?compliance_status:string_filter list -> ?generator_id:string_filter list -> ?record_state:string_filter list -> ?title:string_filter list -> ?resource_type:string_filter list -> ?compliance_associated_standards_id:string_filter list -> ?updated_at:date_filter list -> ?related_findings_id:string_filter list -> ?workflow_status:string_filter list -> ?type_:string_filter list -> ?resource_id:string_filter list -> ?aws_account_id:string_filter list -> ?id:string_filter list -> unit -> automation_rules_finding_filters
val yojson_of_workflow_update : workflow_update -> Yojson.Safe.t
val yojson_of_map_filter : map_filter -> Yojson.Safe.t
val yojson_of_number_filter : number_filter -> Yojson.Safe.t
val yojson_of_string_filter : string_filter -> Yojson.Safe.t
val yojson_of_note_update : note_update -> Yojson.Safe.t
val yojson_of_severity_update : severity_update -> Yojson.Safe.t
val yojson_of_date_range : date_range -> Yojson.Safe.t
val yojson_of_date_filter : date_filter -> Yojson.Safe.t
val yojson_of_automation_rules_finding_fields_update : automation_rules_finding_fields_update -> Yojson.Safe.t
val yojson_of_automation_rules_action : automation_rules_action -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_automation_rules_finding_filters : automation_rules_finding_filters -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties : properties -> [> `Assoc of (string * Yojson.Safe.t) list ]
type attributes = {
  1. ref_ : string;
  2. created_by : string;
  3. rule_arn : string;
  4. created_at : string;
  5. updated_at : string;
}
val create_attributes : string -> attributes
val cloudformation_type : string