Closed myoung34 closed 2 years ago
Could you give some more details ? @myoung34
What is the output of terraform plan ? (you can mask the sensitive details and share the data)
Based on my understanding of your question. I am answering below
This tool will only show the summary of the terraform plan (like what is going to get updated/created/deleted/recreated). If we want to see the details of it, we should see the terraform plan
or terraform show tfplan
Example usage:
terraform plan -out=tfplan # this is will print the detailed output
terraform show -json tfplan | tf-summarize # See the summary, if needed see the details above
It's a very large plan, but its a lot of this
# uptycs_alert_rule.Wbadminexe_execution_detected__T1490__Inhibit_System_Recovery__Windows will be updated in-place
~ resource "uptycs_alert_rule" "Wbadminexe_execution_detected__T1490__Inhibit_System_Recovery__Windows" {
~ event_tags = [
# (6 unchanged elements hidden)
"process_events",
+ "RSIC_DISABLED",
]
~ id = "ab6b5431-c8c7-4e5a-810a-331298fb6f15" -> (known after apply)
name = "Wbadmin.exe execution detected - T1490 - Inhibit System Recovery - Windows"
# (9 unchanged attributes hidden)
}
# uptycs_alert_rule.WinRarexe_execution_detected__T1560001__Archive_via_Utility__Windows will be updated in-place
~ resource "uptycs_alert_rule" "WinRarexe_execution_detected__T1560001__Archive_via_Utility__Windows" {
~ event_tags = [
# (7 unchanged elements hidden)
"process_events",
+ "RSIC_DISABLED",
]
~ id = "2d843ba5-d771-4c87-8ec5-3e82ddbaaff6" -> (known after apply)
name = "WinRar.exe execution detected - T1560.001 - Archive via Utility - Windows"
# (9 unchanged attributes hidden)
}
What is the actual output of the tf-summerize
? and what is the expected output ?
That is the output from tf-summarize. I cant post the entire thing, it's quite large
I'd expect it to show .event_tags
in the row to show what attribute is changing
Oh okay. Today, it only supports just the resource name. We can add that feature in upcoming releases.
Initial thought, tf-summarize -detailed
should show the changing properties.
I guess I'm confused. The gif seems to show that it would list the attributes in the plan
Edit: nevermind I see now. That was my misunderstanding
Okay cool. I will close the issue then. Thanks for trying out the look @myoung34
Ubuntu 22.04 LTS