Skip to content

Commit

Permalink
update-example-for-new-policy-rule-type (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
trend-lucas-wu authored Jul 4, 2024
1 parent 5185b28 commit bb7f713
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
28 changes: 28 additions & 0 deletions docs/resources/container_policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,20 @@ resource "visionone_container_policy" "example_policy" {
]
}
enabled = false
},
{
action = "log"
mitigation = "log"
type = "unscannedImageMalware"
statement = {
properties = [
{
key = "days"
value = "30"
}
]
}
enabled = false
}
]
Expand Down Expand Up @@ -761,6 +775,20 @@ resource "visionone_container_policy" "example_policy" {
]
}
enabled = false
},
{
action = "log"
mitigation = "log"
type = "unscannedImageMalware"
statement = {
properties = [
{
key = "days"
value = "30"
}
]
}
enabled = false
}
]
}
Expand Down
28 changes: 28 additions & 0 deletions examples/resources/visionone_container_policy/resource_all.tf
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,20 @@ resource "visionone_container_policy" "example_policy" {
]
}
enabled = false
},
{
action = "log"
mitigation = "log"
type = "unscannedImageMalware"
statement = {
properties = [
{
key = "days"
value = "30"
}
]
}
enabled = false
}
]

Expand Down Expand Up @@ -709,6 +723,20 @@ resource "visionone_container_policy" "example_policy" {
]
}
enabled = false
},
{
action = "log"
mitigation = "log"
type = "unscannedImageMalware"
statement = {
properties = [
{
key = "days"
value = "30"
}
]
}
enabled = false
}
]
}
Expand Down

0 comments on commit bb7f713

Please sign in to comment.