constellation/cli/internal/cmd
Moritz Sanft 913b09aeb8
Support SEV-SNP on GCP (#3011)
* terraform: enable creation of SEV-SNP VMs on GCP

* variant: add SEV-SNP attestation variant

* config: add SEV-SNP config options for GCP

* measurements: add GCP SEV-SNP measurements

* gcp: separate package for SEV-ES

* attestation: add GCP SEV-SNP attestation logic

* gcp: factor out common logic

* choose: add GCP SEV-SNP

* cli: add TF variable passthrough for GCP SEV-SNP variables

* cli: support GCP SEV-SNP for `constellation verify`

* Adjust usage of GCP SEV-SNP throughout codebase

* ci: add GCP SEV-SNP

* terraform-provider: support GCP SEV-SNP

* docs: add GCP SEV-SNP reference

* linter fixes

* gcp: only run test with TPM simulator

* gcp: remove nonsense test

* Update cli/internal/cmd/verify.go

Co-authored-by: Daniel Weiße <66256922+daniel-weisse@users.noreply.github.com>

* Update docs/docs/overview/clouds.md

Co-authored-by: Daniel Weiße <66256922+daniel-weisse@users.noreply.github.com>

* Update terraform-provider-constellation/internal/provider/attestation_data_source_test.go

Co-authored-by: Adrian Stobbe <stobbe.adrian@gmail.com>

* linter fixes

* terraform_provider: correctly pass down CC technology

* config: mark attestationconfigapi as unimplemented

* gcp: fix comments and typos

* snp: use nonce and PK hash in SNP report

* snp: ensure we never use ARK supplied by Issuer (#3025)

* Make sure SNP ARK is always loaded from config, or fetched from AMD KDS
* GCP: Set validator `reportData` correctly

---------

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
Co-authored-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>

* attestationconfigapi: add GCP to uploading

* snp: use correct cert

Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>

* terraform-provider: enable fetching of attestation config values for GCP SEV-SNP

* linter fixes

---------

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>
Co-authored-by: Daniel Weiße <66256922+daniel-weisse@users.noreply.github.com>
Co-authored-by: Adrian Stobbe <stobbe.adrian@gmail.com>
2024-04-16 18:13:47 +02:00
..
pathprefix cli: fix incorrect file path for master secret during upgrades when using workspace flag (#2249) 2023-08-16 15:38:40 +02:00
apply.go logging: unify debug log message format (#2997) 2024-04-03 13:49:03 +00:00
apply_test.go terraform-provider: Add support for STACKIT / OpenStack 2024-03-11 15:59:23 +01:00
applyhelm.go logging: unify debug log message format (#2997) 2024-04-03 13:49:03 +00:00
applyinit.go logging: unify debug log message format (#2997) 2024-04-03 13:49:03 +00:00
applyterraform.go deps: convert zap to slog (#2825) 2024-02-08 14:20:01 +00:00
BUILD.bazel cli: collect debug logs in file (#2906) 2024-02-21 15:39:12 +00:00
cloud.go attestation: add Azure TDX attestation (#2827) 2024-01-24 15:10:15 +01:00
cloud_test.go attestation: add Azure TDX attestation (#2827) 2024-01-24 15:10:15 +01:00
cmd.go cli: refactor flag parsing code (#2425) 2023-10-16 15:05:29 +02:00
config.go config: add separate option for handling attestation parameters (#1623) 2023-05-03 11:11:53 +02:00
configfetchmeasurements.go logging: unify debug log message format (#2997) 2024-04-03 13:49:03 +00:00
configfetchmeasurements_test.go terraform-provider: add attestation data source (#2640) 2023-11-28 17:30:11 +01:00
configgenerate.go logging: unify debug log message format (#2997) 2024-04-03 13:49:03 +00:00
configgenerate_test.go Support SEV-SNP on GCP (#3011) 2024-04-16 18:13:47 +02:00
configinstancetypes.go cli: add STACKIT to constellation config instance-types 2024-03-04 18:17:26 +01:00
configkubernetesversions.go go: remove unused parameters 2023-03-20 08:41:01 -04:00
configmigrate.go cli: update config migration to migrate v3 -> v4 (#2166) 2023-08-04 15:57:36 +02:00
create.go cli: fix helm-timeout flags for deprecated commands (#2676) 2023-12-04 10:14:16 +01:00
create_test.go chore: fix unused parameter lint in new golangcilint version 2024-02-21 17:54:07 +01:00
iam.go cli: refactor flag parsing code (#2425) 2023-10-16 15:05:29 +02:00
iamcreate.go logging: unify debug log message format (#2997) 2024-04-03 13:49:03 +00:00
iamcreate_test.go chore: fix unused parameter lint in new golangcilint version 2024-02-21 17:54:07 +01:00
iamcreateaws.go cli: refactor flag parsing code (#2425) 2023-10-16 15:05:29 +02:00
iamcreateazure.go terraform: align infrastructure module attributes (#2703) 2023-12-15 10:36:58 +01:00
iamcreategcp.go cli: refactor flag parsing code (#2425) 2023-10-16 15:05:29 +02:00
iamdestroy.go deps: convert zap to slog (#2825) 2024-02-08 14:20:01 +00:00
iamdestroy_test.go cli: refactor flag parsing code (#2425) 2023-10-16 15:05:29 +02:00
iamupgradeapply.go deps: convert zap to slog (#2825) 2024-02-08 14:20:01 +00:00
iamupgradeapply_test.go terraform: align infrastructure module attributes (#2703) 2023-12-15 10:36:58 +01:00
init.go logging: unify debug log message format (#2997) 2024-04-03 13:49:03 +00:00
init_test.go terraform-provider: Add support for STACKIT / OpenStack 2024-03-11 15:59:23 +01:00
license_enterprise.go misc: skip message about community license with marketplace image 2024-03-04 18:17:26 +01:00
license_oss.go misc: skip message about community license with marketplace image 2024-03-04 18:17:26 +01:00
log.go deps: convert zap to slog (#2825) 2024-02-08 14:20:01 +00:00
maapatch.go logging: unify debug log message format (#2997) 2024-04-03 13:49:03 +00:00
maapatch_test.go terraform: add Terraform module for Azure (#2566) 2023-11-13 18:46:20 +01:00
mini.go Update CLI reference (#248) 2022-10-14 10:48:20 +02:00
minidown.go constellation-lib: move state and featureset packages (#2682) 2023-12-08 16:27:04 +01:00
miniup.go deps: convert zap to slog (#2825) 2024-02-08 14:20:01 +00:00
miniup_cross.go cli: add windows amd64 build target (#1835) 2023-05-30 12:02:43 +02:00
miniup_linux_amd64.go deps: convert zap to slog (#2825) 2024-02-08 14:20:01 +00:00
recover.go logging: unify debug log message format (#2997) 2024-04-03 13:49:03 +00:00
recover_test.go cli: enable constellation apply to create new clusters (#2549) 2023-11-20 11:17:16 +01:00
spinner.go cli: add missing flag to miniConstellation (#1374) 2023-03-08 15:48:36 +01:00
spinner_test.go reserve enough time for stable tests (#564) 2022-11-17 17:30:35 +01:00
status.go deps: convert zap to slog (#2825) 2024-02-08 14:20:01 +00:00
status_test.go deps: remove go.mod files from submodules (#2769) 2024-01-08 13:19:38 +01:00
terminate.go cli: refactor flag parsing code (#2425) 2023-10-16 15:05:29 +02:00
terminate_test.go chore: fix unused parameter lint in new golangcilint version 2024-02-21 17:54:07 +01:00
upgrade.go cli: move helm and terraform out of kubernetes package (#2222) 2023-08-16 09:59:32 +02:00
upgradeapply.go constellation-lib: move kubecmd package usage (#2673) 2023-12-05 16:23:31 +01:00
upgradeapply_test.go terraform-provider: Add support for STACKIT / OpenStack 2024-03-11 15:59:23 +01:00
upgradecheck.go logging: unify debug log message format (#2997) 2024-04-03 13:49:03 +00:00
upgradecheck_test.go cli: unify cloudcmd create and upgrade code (#2513) 2023-10-31 12:46:40 +01:00
userinteraction.go add license headers 2022-09-05 09:17:25 +02:00
userinteraction_test.go chore: fix unused parameter lint in new golangcilint version 2024-02-21 17:54:07 +01:00
validargs.go chore: fix unused parameter lint in new golangcilint version 2024-02-21 17:54:07 +01:00
validargs_test.go add license headers 2022-09-05 09:17:25 +02:00
verifier_test.go terraform-provider: add attestation data source (#2640) 2023-11-28 17:30:11 +01:00
verify.go Support SEV-SNP on GCP (#3011) 2024-04-16 18:13:47 +02:00
verify_test.go attestation: add Azure TDX attestation (#2827) 2024-01-24 15:10:15 +01:00
version.go cli: use Semver type to represent microservice versions (#2125) 2023-07-25 14:20:25 +02:00
version_test.go cli: use Semver type to represent microservice versions (#2125) 2023-07-25 14:20:25 +02:00