Skip to content

Commit

Permalink
fixing lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitgoyal0301 committed Jan 10, 2025
1 parent ac32ae6 commit 0e98324
Showing 1 changed file with 97 additions and 97 deletions.
194 changes: 97 additions & 97 deletions mmv1/products/chronicle/RuleDeployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,112 +24,112 @@ self_link: projects/{{project}}/locations/{{location}}/instances/{{instance}}/ru
create_url: projects/{{project}}/locations/{{location}}/instances/{{instance}}/rules/{{rule}}/deployment?updateMask=enabled,alerting,archived,runFrequency
id_format: projects/{{project}}/locations/{{location}}/instances/{{instance}}/rules/{{rule}}/deployment
import_format:
- projects/{{project}}/locations/{{location}}/instances/{{instance}}/rules/{{rule}}/deployment
- projects/{{project}}/locations/{{location}}/instances/{{instance}}/rules/{{rule}}/deployment
create_verb: PATCH
update_verb: PATCH
update_mask: true
exclude_delete: true

examples:
- name: 'chronicle_ruledeployment_basic'
primary_resource_id: 'example'
min_version: 'beta'
test_env_vars:
chronicle_id: 'CHRONICLE_ID'
- name: 'chronicle_ruledeployment_basic'
primary_resource_id: 'example'
min_version: 'beta'
test_env_vars:
chronicle_id: 'CHRONICLE_ID'

parameters:
- name: location
type: String
description: The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
immutable: true
url_param_only: true
required: true
- name: instance
type: String
description: The unique identifier for the Chronicle instance, which is the same as the customer ID.
immutable: true
url_param_only: true
required: true
- name: rule
type: String
description: The Rule ID of the rule.
immutable: true
url_param_only: true
required: true
- name: location
type: String
description: The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
immutable: true
url_param_only: true
required: true
- name: instance
type: String
description: The unique identifier for the Chronicle instance, which is the same as the customer ID.
immutable: true
url_param_only: true
required: true
- name: rule
type: String
description: The Rule ID of the rule.
immutable: true
url_param_only: true
required: true
properties:
- name: name
type: String
description: |-
The resource name of the rule deployment.
Note that RuleDeployment is a child of the overall Rule, not any individual
revision, so the resource ID segment for the Rule resource must not
reference a specific revision.
Format:
projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/deployment
output: true
- name: enabled
type: Boolean
description: Whether the rule is currently deployed continuously against incoming data.
- name: alerting
type: Boolean
description: |-
Whether detections resulting from this deployment should be considered
alerts.
- name: archived
type: Boolean
description: |-
The archive state of the rule deployment.
Cannot be set to true unless enabled is set to false.
If set to true, alerting will automatically be set to false.
If currently set to true, enabled, alerting, and run_frequency cannot be
updated.
- name: archiveTime
type: String
description: Output only. The timestamp when the rule deployment archive state was last set to true.
If the rule deployment's current archive state is not set to true, the field will be empty.
output: true
- name: runFrequency
type: String
description: |2-
The run frequency of the rule deployment.
Possible values:
LIVE
HOURLY
DAILY
- name: executionState
type: String
description: |2-
- name: name
type: String
description: |-
The resource name of the rule deployment.
Note that RuleDeployment is a child of the overall Rule, not any individual
revision, so the resource ID segment for the Rule resource must not
reference a specific revision.
Format:
projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/deployment
output: true
- name: enabled
type: Boolean
description: Whether the rule is currently deployed continuously against incoming data.
- name: alerting
type: Boolean
description: |-
Whether detections resulting from this deployment should be considered
alerts.
- name: archived
type: Boolean
description: |-
The archive state of the rule deployment.
Cannot be set to true unless enabled is set to false.
If set to true, alerting will automatically be set to false.
If currently set to true, enabled, alerting, and run_frequency cannot be
updated.
- name: archiveTime
type: String
description: Output only. The timestamp when the rule deployment archive state was last set to true.
If the rule deployment's current archive state is not set to true, the field will be empty.
output: true
- name: runFrequency
type: String
description: |2-
The execution state of the rule deployment.
Possible values:
DEFAULT
LIMITED
PAUSED
output: true
- name: producerRules
type: Array
description: |2-
Output only. The names of the associated/chained producer rules. Rules are considered
producers for this rule if this rule explicitly filters on their ruleid.
Format:
projects/{project}/locations/{location}/instances/{instance}/rules/{rule}
output: true
item_type:
The run frequency of the rule deployment.
Possible values:
LIVE
HOURLY
DAILY
- name: executionState
type: String
- name: consumerRules
type: Array
description: |2-
Output only. The names of the associated/chained consumer rules. Rules are considered
consumers of this rule if their rule text explicitly filters on this rule's ruleid.
Format:
projects/{project}/locations/{location}/instances/{instance}/rules/{rule}
output: true
item_type:
description: |2-
The execution state of the rule deployment.
Possible values:
DEFAULT
LIMITED
PAUSED
output: true
- name: producerRules
type: Array
description: |2-
Output only. The names of the associated/chained producer rules. Rules are considered
producers for this rule if this rule explicitly filters on their ruleid.
Format:
projects/{project}/locations/{location}/instances/{instance}/rules/{rule}
output: true
item_type:
type: String
- name: consumerRules
type: Array
description: |2-
Output only. The names of the associated/chained consumer rules. Rules are considered
consumers of this rule if their rule text explicitly filters on this rule's ruleid.
Format:
projects/{project}/locations/{location}/instances/{instance}/rules/{rule}
output: true
item_type:
type: String
- name: lastAlertStatusChangeTime
type: String
- name: lastAlertStatusChangeTime
type: String
description: Output only. The timestamp when the rule deployment alert state was lastly changed.
This is filled regardless of the current alert state.E.g. if the current alert status is false,
this timestamp will be the timestamp when the alert status was changed to false.
output: true
description: Output only. The timestamp when the rule deployment alert state was lastly changed.
This is filled regardless of the current alert state.E.g. if the current alert status is false,
this timestamp will be the timestamp when the alert status was changed to false.
output: true

0 comments on commit 0e98324

Please sign in to comment.