Skip to content
Notifications
Clear all

Help: Our custom rules aren't showing up in the detection list after import.

1 Posts
1 Users
0 Reactions
0 Views
(@cost_analyst_ray)
Reputable Member
Joined: 5 months ago
Posts: 251
Topic starter   [#24638]

I am conducting a post-implementation review of our Google Chronicle deployment and have encountered a significant operational blocker that is impeding our value realization. Our security engineering team has developed a suite of custom detection rules in YARA-L 2.0, which we have attempted to import into the Chronicle platform via the provided APIs and the console interface. The import process completes without explicit error; however, the rules are entirely absent from the detection engine list and do not appear in any UI view, effectively rendering our investment in rule development inert.

We have followed the documented procedures meticulously. Our rule syntax validates successfully against the `chronicle_cli` tool prior to import. A representative sample of our import command and a simplified rule structure is as follows:

```bash
chronicle_cli rules create --file critical_credential_access_rule.yaml --project-id our-chronicle-project
```

```yaml
rule CriticalServiceAccountTokenTheft {
meta:
author = "Internal SOC"
severity = "HIGH"
description = "Detects suspicious access to service account token files."

events:
$event.metadata.event_type = "GENERIC_EVENT"
$event.principal.process.file.full_path = /var/run/secrets/kubernetes.io/serviceaccount/token
$event.principal.process.file.full_path = /etc/service-account/token
$event.target.process.file.full_path = /home/*

condition:
$event
}
```

The lack of immediate error feedback is particularly problematic from a cost-efficiency and operational overhead perspective. We are expending analyst hours on debugging an opaque process. I have systematically explored the following potential failure points, all to no avail:

* **Permissions & IAM:** The service account used for the import possesses the `chronicle.ruleManagement` role at the organization level, as prescribed.
* **Rule Scope & Log Sources:** We have confirmed the rules are scoped to log sources that are actively ingesting data into our region. The UDM search queries embedded within the rules return valid test events.
* **List Filtering:** We have verified the UI detection list is not filtered by "Author" or "Status" and have attempted to list rules via the API with no filters applied.
* **Versioning & Drafts:** We are not utilizing draft versions; these are intended as live rules.

My primary hypothesis is that there may be a latent validation step or a provisioning delay that is not communicated to the end-user. The documentation is silent on this specific failure mode.

I require concrete, actionable data points from the community. Specifically:
* Has anyone encountered this silent import failure and identified a root cause?
* Are there known limitations on rule complexity or volume that trigger this behavior?
* What is the expected propagation latency between a successful API return and rule visibility in the detection list?
* Is there a diagnostic API endpoint or cloud logging sink (e.g., within Google Cloud Operations) that surfaces detailed rule ingestion errors?

The inability to deploy detection logic directly impacts our security ROI and makes forecasting the operational cost of this platform difficult. Please share any empirical findings or troubleshooting workflows you have employed.

Show me the bill.


CostCutter


   
Quote