Skip to content

Commit

Permalink
fix(benchmark): remove deprecated benchmark feature (#274)
Browse files Browse the repository at this point in the history
* fix(benchmark): remove deprecated benchmark feature

BREAKING CHANGE: resource  is removed from the provider since its deprecated and removed from API
  • Loading branch information
filiptubic authored Mar 22, 2023
1 parent e8abb60 commit f655b89
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 367 deletions.
84 changes: 0 additions & 84 deletions sysdig/internal/client/secure/benchmark_task.go

This file was deleted.

5 changes: 0 additions & 5 deletions sysdig/internal/client/secure/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@ type SysdigSecureClient interface {
UpdateCloudAccount(context.Context, string, *CloudAccount) (*CloudAccount, error)
GetTrustedCloudIdentity(context.Context, string) (string, error)

CreateBenchmarkTask(context.Context, *BenchmarkTask) (*BenchmarkTask, error)
GetBenchmarkTask(context.Context, string) (*BenchmarkTask, error)
DeleteBenchmarkTask(context.Context, string) error
SetBenchmarkTaskEnabled(context.Context, string, bool) error

CreateScanningPolicy(context.Context, ScanningPolicy) (ScanningPolicy, error)
GetScanningPolicyById(context.Context, string) (ScanningPolicy, error)
DeleteScanningPolicyById(context.Context, string) error
Expand Down
1 change: 0 additions & 1 deletion sysdig/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ func Provider() *schema.Provider {
"sysdig_secure_vulnerability_exception": resourceSysdigSecureVulnerabilityException(),
"sysdig_secure_vulnerability_exception_list": resourceSysdigSecureVulnerabilityExceptionList(),
"sysdig_secure_cloud_account": resourceSysdigSecureCloudAccount(),
"sysdig_secure_benchmark_task": resourceSysdigSecureBenchmarkTask(),
"sysdig_secure_scanning_policy": resourceSysdigSecureScanningPolicy(),
"sysdig_secure_scanning_policy_assignment": resourceSysdigSecureScanningPolicyAssignment(),

Expand Down
162 changes: 0 additions & 162 deletions sysdig/resource_sysdig_secure_benchmark_task.go

This file was deleted.

66 changes: 0 additions & 66 deletions sysdig/resource_sysdig_secure_benchmark_task_test.go

This file was deleted.

49 changes: 0 additions & 49 deletions website/docs/r/secure_benchmark_task.md

This file was deleted.

0 comments on commit f655b89

Please sign in to comment.