File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -319,3 +319,4 @@ This allows you to:
319319- [ ECS Task Definitions] ( https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html )
320320- [ GitHub Actions OIDC] ( https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services )
321321
322+
Original file line number Diff line number Diff line change @@ -39,8 +39,7 @@ pipeline:
3939 this.methodName != null && this.methodName != "" &&
4040 this.providerName != null && this.providerName != "" &&
4141 this.id != null && this.id != "" &&
42- this.startedAt != null && this.startedAt != "" &&
43- this.key != null && this.key != ""
42+ this.startedAt != null && this.startedAt != ""
4443 )
4544
4645 root = if $valid { this } else { deleted() }
@@ -52,7 +51,7 @@ pipeline:
5251 root.event_name = this.targetItemType.string() + "-" + this.methodName.string() + "-" + this.providerName.string()
5352 root.event_id = this.id.string()
5453 root.timestamp = this.startedAt.string()
55- root.source = this.key .string()
54+ if this.targetItemId != null { root.source = this.targetItemId .string() }
5655
5756 # Start with `data` fields (extract values from key-value objects, otherwise stringify)
5857 root.properties = if this.data != null && this.data.type() == "object" {
You can’t perform that action at this time.
0 commit comments