Skip to content

Commit e4747a5

Browse files
author
Alexander Qiu
authored
feat: Add azure to valid benchmark schemas (#125)
* add azure to valid benchmark schemas * update docs
1 parent c9602fb commit e4747a5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

sysdig/internal/client/secure/models.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ func CloudAccountFromJSON(body []byte) *CloudAccount {
389389
var SupportedBenchmarkTaskSchemas = []string{
390390
"aws_foundations_bench-1.3.0",
391391
"gcp_foundations_bench-1.2.0",
392+
"azure_foundations_bench-1.3.0",
392393
}
393394

394395
type BenchmarkTask struct {

website/docs/r/sysdig_secure_benchmark_task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ resource "sysdig_secure_benchmark_task" "sample" {
3030

3131
* `schedule` - (Required) The schedule (as a cron expression: [Minute Hour Day DayOfWeek DayOfMonth]) on which this task should be run. The schedule may not be more frequent than once per day.
3232

33-
* `schema` - (Required) The identifier of the benchmark schema of which to run. Possible values are: `aws_foundations_bench-1.3.0`, `gcp_foundations_bench-1.2.0`.
33+
* `schema` - (Required) The identifier of the benchmark schema of which to run. Possible values are: `aws_foundations_bench-1.3.0`, `gcp_foundations_bench-1.2.0`, `azure_foundations_bench-1.3.0`.
3434

3535
* `scope` - (Required) The Sysdig scope expression on which to run this benchmark: e.g. `aws.accountId = \"123456789012\" and aws.region = \"us-west-2\"`. The labels available are `aws.accountId`, `aws.region`, `gcp.projectId` and `gcp.region`. Only the `=` and `and` operators are supported.
3636

0 commit comments

Comments
 (0)