Skip to content

Mask token in Terraform state output - #564

Merged
casperdcl merged 2 commits into
develfrom
mask-token-terraform
May 27, 2021
Merged

casperdcl merged 2 commits into
develfrom
mask-token-terraform

Conversation

@0x2b3bfa0

@0x2b3bfa0 0x2b3bfa0 commented May 26, 2021 •

Copy link
Copy Markdown
Member

Currently, CI/CD platforms mask it from their logs without requiring us to do anything, but we should mask it on our side anyways.

The proper fix would be honoring the sensitive property of fields by using Terraform CDK as per #556 and outputting only what is needed with output values; e.g. the instance address. See iterative/terraform-provider-iterative#92 and iterative/terraform-provider-iterative#120 for more information.

@0x2b3bfa0 0x2b3bfa0 added p1-important High priority security Sensitive flaws labels May 26, 2021
@0x2b3bfa0
0x2b3bfa0 requested a review from DavidGOrtega May 26, 2021 22:19
@0x2b3bfa0 0x2b3bfa0 self-assigned this May 26, 2021
@0x2b3bfa0
0x2b3bfa0 temporarily deployed to test-internal May 26, 2021 22:19 Inactive
@0x2b3bfa0
0x2b3bfa0 temporarily deployed to test-internal May 26, 2021 22:20 Inactive

@DavidGOrtega DavidGOrtega left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@casperdcl
casperdcl changed the base branch from master to devel May 27, 2021 15:29
@casperdcl
casperdcl merged commit 70c71e0 into devel May 27, 2021
@casperdcl
casperdcl deleted the mask-token-terraform branch May 27, 2021 15:29
@casperdcl casperdcl mentioned this pull request May 27, 2021

This branch was previously deployed

1 inactive deployment
test-internal — 37c349f5 Deployed May 26, 2021 by 0x2b3bfa0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

p1-important High priority security Sensitive flaws

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants