Add audit events for Apps#show_env and Revisions#show_environment_variables#1787
Add audit events for Apps#show_env and Revisions#show_environment_variables#1787selzoc merged 3 commits intocloudfoundry:masterfrom
Conversation
|
We have created an issue in Pivotal Tracker to manage this: https://www.pivotaltracker.com/story/show/174330630 The labels on this github issue will be updated when the story is started. |
|
Hey @tlwr, From a high level, I think this makes sense and will be a valuable addition. What would you think about changing the types of the audit events to something like Also, I suspect you may have overlooked the Thanks, |
|
All sensible points, thanks especially for pointing out |
The environment can contain sensitive information, access to sensitive information should be audited Signed-off-by: toby lorne <toby@toby.codes>
Revisions environment variables can contain sensitive information, access to sensitive information should be audited Signed-off-by: toby lorne <toby@toby.codes>
The environment can contain sensitive information, access to sensitive information should be audited Signed-off-by: toby lorne <toby@toby.codes>
|
I've fixed up the PR so that the following audit events are generated:
where the difference between 1. and 2. is that 1. includes |
A short explanation of the proposed change:
Add two audit events:
audit.app.show-envaudit.app.revision.show-environment-variablesEnvironment variables frequently contain sensitive information, and so we should audit access, even when viewing.
An explanation of the use cases your change solves
As a security analyst,
I want to audit when developers access environment variables,
so that I can hold them to account
As an operator,
I want to record access to environment variables,
so my users can hold me to account
I have reviewed the contributing guide
I have viewed, signed, and submitted the Contributor License Agreement
I have made this pull request to the
masterbranchI have run all the unit tests using
bundle exec rakeI have run CF Acceptance Tests