Skip to content

Commit 6037d2b

Browse files
authored
Merge pull request #6 from turbot/release/v0.3.0
Release/v0.3.0
2 parents 269ec35 + 4860e76 commit 6037d2b

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## v0.3.0 [2025-02-14]
2+
3+
_Enhancements_
4+
5+
- Add `operation_src` and `resource_src` columns to all detections to preserve original log data in columns with consistent naming.
6+
17
## v0.2.0 [2025-02-06]
28

39
_Enhancements_
@@ -11,6 +17,6 @@ _What's new?_
1117
- New benchmarks added:
1218
- Audit Log Detections benchmark (`powerpipe benchmark run gcp_audit_log_detections.benchmark.audit_log_detections`).
1319
- MITRE ATT&CK v16.1 benchmark (`powerpipe benchmark run gcp_audit_log_detections.benchmark.mitre_attack_v161`).
14-
20+
1521
- New dashboards added:
1622
- [Audit Log Activity Dashboard](https://hub.powerpipe.io/mods/turbot/gcp_audit_log_detections/dashboards/dashboard.activity_dashboard)

locals.pp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,18 @@
1919
tp_index as project,
2020
tp_id as source_id,
2121
-- Create new aliases to preserve original row data
22+
operation as operation_src,
23+
resource as resource_src,
2224
*
25+
exclude operation, resource
2326
EOQ
2427

2528
detection_sql_where_conditions = <<-EOQ
2629
and severity != 'Error'
2730
-- TODO: Do we need to check operation?
2831
-- and (operation_src is null or operation_src.last = true)
2932
EOQ
33+
3034
// Keep same order as SQL statement for easier readability
3135
detection_display_columns = [
3236
"timestamp",
@@ -41,4 +45,4 @@
4145

4246
locals {
4347
detection_sql_resource_column_resource_name = replace(local.detection_sql_columns, "__RESOURCE_SQL__", "resource_name")
44-
}
48+
}

0 commit comments

Comments
 (0)