Service Client: Google::Cloud::Chronicle::V1::Rule::RuleServiceClient

Client stub representing the remote RuleService gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to chronicle.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Chronicle::V1::Rule - Compiled Protocol Buffers messages for google/cloud/chronicle/v1/rule.proto

SYNOPSIS

use Google::Cloud::Chronicle::V1::Rule;

my $msg = Google::Cloud::Chronicle::V1::Rule::Rule->new({
    name => $name,
    revision_id => $revision_id,
    display_name => $display_name,
    text => $text,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Chronicle::V1::Rule::Rule->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/chronicle/v1/rule.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Chronicle::V1::Rule::Rule

The Rule resource represents a user-created rule. NEXT TAG: 21

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. Full resource name for the rule. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`

  • $msg->revision_id() / $msg->revision_id($value)

    Type: String

    Output only. The revision ID of the rule. A new revision is created whenever the rule text is changed in any way. Format: `v_{10 digits}_{9 digits}` Populated in REVISION_METADATA_ONLY view and FULL view.

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Output only. Display name of the rule. Populated in BASIC view and FULL view.

  • $msg->text() / $msg->text($value)

    Type: String

    The YARA-L content of the rule. Populated in FULL view.

  • $msg->author() / $msg->author($value)

    Type: String

    Output only. The author of the rule. Extracted from the meta section of text. Populated in BASIC view and FULL view.

  • $msg->severity() / $msg->severity($value)

    Type: Message (Google::Cloud::Chronicle::V1::Rule::Severity)

    Output only. The severity of the rule as specified in the meta section of text. Populated in BASIC view and FULL view.

  • $msg->metadata() / $msg->metadata($value)

    Type: Message (Google::Cloud::Chronicle::V1::Rule::Rule::MetadataEntry)

    Output only. Additional metadata specified in the meta section of text. Populated in FULL view.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The timestamp of when the rule was created. Populated in FULL view.

  • $msg->revision_create_time() / $msg->revision_create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The timestamp of when the rule revision was created. Populated in FULL, REVISION_METADATA_ONLY views.

  • $msg->compilation_state() / $msg->compilation_state($value)

    Type: Enum (Google::Cloud::Chronicle::V1::Rule::CompilationState)

    Output only. The current compilation state of the rule. Populated in FULL view.

  • $msg->type() / $msg->type($value)

    Type: Enum (Google::Cloud::Chronicle::V1::RuleType)

    Output only. User-facing type of the rule. Extracted from the events section of rule text. Populated in BASIC view and FULL view.

  • $msg->reference_lists() / $msg->reference_lists($value)

    Type: String

    Output only. Resource names of the reference lists used in this rule. Populated in FULL view.

  • $msg->allowed_run_frequencies() / $msg->allowed_run_frequencies($value)

    Type: Enum (Google::Cloud::Chronicle::V1::RunFrequency)

    Output only. The run frequencies that are allowed for the rule. Populated in BASIC view and FULL view.

  • $msg->etag() / $msg->etag($value)

    Type: String

    The etag for this rule. If this is provided on update, the request will succeed if and only if it matches the server-computed value, and will fail with an ABORTED error otherwise. Populated in BASIC view and FULL view.

  • $msg->scope() / $msg->scope($value)

    Type: String

    Resource name of the DataAccessScope bound to this rule. Populated in BASIC view and FULL view. If reference lists are used in the rule, validations will be performed against this scope to ensure that the reference lists are compatible with both the user's and the rule's scopes. The scope should be in the format: `projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope}`.

  • $msg->compilation_diagnostics() / $msg->compilation_diagnostics($value)

    Type: Message (Google::Cloud::Chronicle::V1::Rule::CompilationDiagnostic)

    Output only. A list of a rule's corresponding compilation diagnostic messages such as compilation errors and compilation warnings. Populated in FULL view.

  • $msg->near_real_time_live_rule_eligible() / $msg->near_real_time_live_rule_eligible($value)

    Type: Bool

    Output only. Indicate the rule can run in near real time live rule. If this is true, the rule uses the near real time live rule when the run frequency is set to LIVE.

  • $msg->inputs_used() / $msg->inputs_used($value)

    Type: Message (Google::Cloud::Chronicle::V1::Rule::InputsUsed)

    Output only. The set of inputs used in the rule. For example, if the rule uses $e.principal.hostname, then the uses_udm field will be true.

Enum: Rule::CompilationState

  • COMPILATION_STATE_UNSPECIFIED => 0

  • SUCCEEDED => 1

  • FAILED => 2

Google::Cloud::Chronicle::V1::Rule::RuleDeployment

The RuleDeployment resource represents the deployment state of a Rule.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. 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`

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Whether the rule is currently deployed continuously against incoming data.

  • $msg->alerting() / $msg->alerting($value)

    Type: Bool

    Whether detections resulting from this deployment should be considered alerts.

  • $msg->archived() / $msg->archived($value)

    Type: Bool

    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.

  • $msg->archive_time() / $msg->archive_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    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.

  • $msg->run_frequency() / $msg->run_frequency($value)

    Type: Enum (Google::Cloud::Chronicle::V1::RunFrequency)

    The run frequency of the rule deployment.

  • $msg->execution_state() / $msg->execution_state($value)

    Type: Enum (Google::Cloud::Chronicle::V1::RuleDeployment::ExecutionState)

    Output only. The execution state of the rule deployment.

  • $msg->producer_rules() / $msg->producer_rules($value)

    Type: String

    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}`

  • $msg->consumer_rules() / $msg->consumer_rules($value)

    Type: String

    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}`

  • $msg->last_alert_status_change_time() / $msg->last_alert_status_change_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    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.

Enum: RuleDeployment::ExecutionState

  • EXECUTION_STATE_UNSPECIFIED => 0

  • DEFAULT => 1

  • LIMITED => 2

  • PAUSED => 3

Google::Cloud::Chronicle::V1::Rule::Retrohunt

Retrohunt is an execution of a Rule over a time range in the past.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    The resource name of the retrohunt. Retrohunt is the child of a rule revision. {rule} in the format below is structured as {rule_id@revision_id}. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}`

  • $msg->process_interval() / $msg->process_interval($value)

    Type: Message (Google::Type::Interval::Interval)

    Required. The start and end time of the event time range this retrohunt processes.

  • $msg->execution_interval() / $msg->execution_interval($value)

    Type: Message (Google::Type::Interval::Interval)

    Output only. The start and end time of the retrohunt execution. If the retrohunt is not yet finished, the end time of the interval will not be populated.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Chronicle::V1::Retrohunt::State)

    Output only. The state of the retrohunt.

  • $msg->progress_percentage() / $msg->progress_percentage($value)

    Type: Float

    Output only. Percent progress of the retrohunt towards completion, from 0.00 to 100.00.

Enum: Retrohunt::State

  • STATE_UNSPECIFIED => 0

  • RUNNING => 1

  • DONE => 2

  • CANCELLED => 3

  • FAILED => 4

Google::Cloud::Chronicle::V1::Rule::CreateRuleRequest

Request message for CreateRule method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource where this rule will be created. Format: `projects/{project}/locations/{location}/instances/{instance}`

  • $msg->rule() / $msg->rule($value)

    Type: Message (Google::Cloud::Chronicle::V1::Rule::Rule)

    Required. The rule to create.

Google::Cloud::Chronicle::V1::Rule::GetRuleRequest

Request message for GetRule method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the rule to retrieve. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`

  • $msg->view() / $msg->view($value)

    Type: Enum (Google::Cloud::Chronicle::V1::RuleView)

    The view field indicates the scope of fields to populate for the Rule being returned. If unspecified, defaults to FULL.

Google::Cloud::Chronicle::V1::Rule::ListRulesRequest

Request message for ListRules method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent, which owns this collection of rules. Format: `projects/{project}/locations/{location}/instances/{instance}`

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of rules to return. The service may return fewer than this value. If unspecified, at most 100 rules will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    A page token, received from a previous `ListRules` call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to `ListRules` must match the call that provided the page token.

  • $msg->view() / $msg->view($value)

    Type: Enum (Google::Cloud::Chronicle::V1::RuleView)

    view indicates the scope of fields to populate for the Rule being returned. If unspecified, defaults to BASIC.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Only the following filters are allowed: "reference_lists:{reference_list_name}" "data_tables:{data_table_name}" "display_name:{display_name}"

Google::Cloud::Chronicle::V1::Rule::ListRulesResponse

Response message for ListRules method.

Inherits from Protobuf::Message.

Accessors

  • $msg->rules() / $msg->rules($value)

    Type: Message (Google::Cloud::Chronicle::V1::Rule::Rule)

    The rules from the specified instance.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

Google::Cloud::Chronicle::V1::Rule::UpdateRuleRequest

Request message for UpdateRule method.

Inherits from Protobuf::Message.

Accessors

  • $msg->rule() / $msg->rule($value)

    Type: Message (Google::Cloud::Chronicle::V1::Rule::Rule)

    Required. The rule to update.

    The rule's `name` field is used to identify the rule to update. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    The list of fields to update. If not included, all fields with a non-empty value will be overwritten.

Google::Cloud::Chronicle::V1::Rule::DeleteRuleRequest

Request message for the DeleteRule method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the rule to delete. A rule revision timestamp cannot be specified as part of the name, as deleting specific revisions is not supported. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`

  • $msg->force() / $msg->force($value)

    Type: Bool

    Optional. If set to true, any retrohunts and any detections associated with the rule will also be deleted. If set to false, the call will only succeed if the rule has no associated retrohunts, including completed retrohunts, and no associated detections. Regardless of this field's value, the rule deployment associated with this rule will also be deleted.

Google::Cloud::Chronicle::V1::Rule::VerifyRuleTextRequest

Request message for VerifyRuleText method.

Inherits from Protobuf::Message.

Accessors

  • $msg->instance() / $msg->instance($value)

    Type: String

    Required. The name of the parent resource, which is the SecOps instance associated with the request. Format: `projects/{project}/locations/{location}/instances/{instance}`

  • $msg->rule_text() / $msg->rule_text($value)

    Type: String

    Required. The rule text to verify as a UTF-8 string.

Google::Cloud::Chronicle::V1::Rule::VerifyRuleTextResponse

Response message for VerifyRuleText method.

Inherits from Protobuf::Message.

Accessors

  • $msg->success() / $msg->success($value)

    Type: Bool

    Whether or not the rule text was successfully verified.

  • $msg->compilation_diagnostics() / $msg->compilation_diagnostics($value)

    Type: Message (Google::Cloud::Chronicle::V1::Rule::CompilationDiagnostic)

    A list of a rule's corresponding compilation diagnostic messages such as compilation errors and compilation warnings.

Google::Cloud::Chronicle::V1::Rule::ListRuleRevisionsRequest

Request message for ListRuleRevisions method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the rule to list revisions for. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of revisions to return per page. The service may return fewer than this value. If unspecified, at most 100 revisions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    The page token, received from a previous `ListRuleRevisions` call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to `ListRuleRevisions` must match the call that provided the page token.

  • $msg->view() / $msg->view($value)

    Type: Enum (Google::Cloud::Chronicle::V1::RuleView)

    The view field indicates the scope of fields to populate for the revision being returned. If unspecified, defaults to BASIC.

Google::Cloud::Chronicle::V1::Rule::ListRuleRevisionsResponse

Response message for ListRuleRevisions method.

Inherits from Protobuf::Message.

Accessors

  • $msg->rules() / $msg->rules($value)

    Type: Message (Google::Cloud::Chronicle::V1::Rule::Rule)

    The revisions of the rule.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

Google::Cloud::Chronicle::V1::Rule::CreateRetrohuntRequest

Request message for CreateRetrohunt method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent of retrohunt, which is a rule. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`

  • $msg->retrohunt() / $msg->retrohunt($value)

    Type: Message (Google::Cloud::Chronicle::V1::Rule::Retrohunt)

    Required. The retrohunt to create.

Google::Cloud::Chronicle::V1::Rule::GetRetrohuntRequest

Request message for GetRetrohunt method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the retrohunt to retrieve. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}`

Google::Cloud::Chronicle::V1::Rule::ListRetrohuntsRequest

Request message for ListRetrohunts method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The rule that the retrohunts belong to. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of retrohunt to return. The service may return fewer than this value. If unspecified, at most 100 retrohunts will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    A page token, received from a previous `ListRetrohunts` call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to `ListRetrohunts` must match the call that provided the page token.

  • $msg->filter() / $msg->filter($value)

    Type: String

    A filter that can be used to retrieve specific rule deployments. The following fields are filterable: state

Google::Cloud::Chronicle::V1::Rule::ListRetrohuntsResponse

Response message for ListRetrohunts method.

Inherits from Protobuf::Message.

Accessors

  • $msg->retrohunts() / $msg->retrohunts($value)

    Type: Message (Google::Cloud::Chronicle::V1::Rule::Retrohunt)

    The retrohunts from the specified rule.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

Google::Cloud::Chronicle::V1::Rule::GetRuleDeploymentRequest

Request message for GetRuleDeployment.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the rule deployment to retrieve. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/deployment`

Google::Cloud::Chronicle::V1::Rule::ListRuleDeploymentsRequest

Request message for ListRuleDeployments.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The collection of all parents which own all rule deployments. The "-" wildcard token must be used as the rule identifier in the resource path. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/-`

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of rule deployments to return. The service may return fewer than this value. If unspecified, at most 100 rule deployments will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    A page token, received from a previous `ListRuleDeployments` call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to `ListRuleDeployments` must match the call that provided the page token.

  • $msg->filter() / $msg->filter($value)

    Type: String

    A filter that can be used to retrieve specific rule deployments. The following fields are filterable: archived, name

Google::Cloud::Chronicle::V1::Rule::ListRuleDeploymentsResponse

Response message for ListRuleDeployments.

Inherits from Protobuf::Message.

Accessors

  • $msg->rule_deployments() / $msg->rule_deployments($value)

    Type: Message (Google::Cloud::Chronicle::V1::Rule::RuleDeployment)

    The rule deployments from all rules.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

Google::Cloud::Chronicle::V1::Rule::UpdateRuleDeploymentRequest

Request message for UpdateRuleDeployment.

Inherits from Protobuf::Message.

Accessors

  • $msg->rule_deployment() / $msg->rule_deployment($value)

    Type: Message (Google::Cloud::Chronicle::V1::Rule::RuleDeployment)

    Required. The rule deployment to update.

    The rule deployment's `name` field is used to identify the rule deployment to update. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/deployment`

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Required. The list of fields to update.

Google::Cloud::Chronicle::V1::Rule::CompilationPosition

CompilationPosition represents the location of a compilation diagnostic in rule text.

Inherits from Protobuf::Message.

Accessors

  • $msg->start_line() / $msg->start_line($value)

    Type: Int32

    Output only. Start line number, beginning at 1.

  • $msg->start_column() / $msg->start_column($value)

    Type: Int32

    Output only. Start column number, beginning at 1.

  • $msg->end_line() / $msg->end_line($value)

    Type: Int32

    Output only. End line number, beginning at 1.

  • $msg->end_column() / $msg->end_column($value)

    Type: Int32

    Output only. End column number, beginning at 1.

Google::Cloud::Chronicle::V1::Rule::CompilationDiagnostic

CompilationDiagnostic represents a compilation diagnostic generated during a rule's compilation, such as a compilation error or a compilation warning.

Inherits from Protobuf::Message.

Accessors

  • $msg->message() / $msg->message($value)

    Type: String

    Output only. The diagnostic message.

  • $msg->position() / $msg->position($value)

    Type: Message (Google::Cloud::Chronicle::V1::Rule::CompilationPosition)

    Output only. The approximate position in the rule text associated with the compilation diagnostic. Compilation Position may be empty.

  • $msg->severity() / $msg->severity($value)

    Type: Enum (Google::Cloud::Chronicle::V1::CompilationDiagnostic::Severity)

    Output only. The severity of a rule's compilation diagnostic.

  • $msg->uri() / $msg->uri($value)

    Type: String

    Output only. Link to documentation that describes a diagnostic in more detail.

Enum: CompilationDiagnostic::Severity

  • SEVERITY_UNSPECIFIED => 0

  • WARNING => 1

  • ERROR => 2

Google::Cloud::Chronicle::V1::Rule::Severity

Severity represents the severity level of the rule.

Inherits from Protobuf::Message.

Accessors

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    The display name of the severity level. Extracted from the meta section of the rule text.

Google::Cloud::Chronicle::V1::Rule::RetrohuntMetadata

Operation Metadata for Retrohunts.

Inherits from Protobuf::Message.

Accessors

  • $msg->retrohunt() / $msg->retrohunt($value)

    Type: String

    The name of the retrohunt. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}`

  • $msg->execution_interval() / $msg->execution_interval($value)

    Type: Message (Google::Type::Interval::Interval)

    The start and end time of the retrohunt execution. If the retrohunt is not yet finished, the end time of the interval will not be filled.

  • $msg->progress_percentage() / $msg->progress_percentage($value)

    Type: Float

    Percent progress of the retrohunt towards completion, from 0.00 to 100.00.

Google::Cloud::Chronicle::V1::Rule::InputsUsed

InputsUsed is a convenience field that tells us which sources of events (if any) were used in the rule. NEXT TAG: 4

Inherits from Protobuf::Message.

Accessors

  • $msg->uses_udm() / $msg->uses_udm($value)

    Type: Bool

    Optional. Whether the rule queries UDM events.

  • $msg->uses_entity() / $msg->uses_entity($value)

    Type: Bool

    Optional. Whether the rule queries entity events.

  • $msg->uses_detection() / $msg->uses_detection($value)

    Type: Bool

    Optional. Whether the rule queries detections.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Chronicle::V1::Rule::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.