You do not see the following audit events when executing
cf events in Tanzu Application Service for VMs:
- audit.app.revision.environment_variables.show
- audit.app.environment_variables.show
- audit.app.environment
For more information, refer to
App Lifecycle (audit.app.*).
As a security analyst or auditor, these events are useful in auditing access to environment variables.
For example, accessing the following
/v3/ endpoints should result in the events showing up when executing
cf events.
cf app dora --guid
2a9b7778-b9e8-496d-a9f9-40b3bb005d01
cf curl /v3/apps/2a9b7778-b9e8-496d-a9f9-40b3bb005d01/env
cf curl /v3/apps/2a9b7778-b9e8-496d-a9f9-40b3bb005d01/environment_variables
cf curl /v3/revisions/8fc50c3c-a2e8-41c9-bec9-a39e90f9d44f/environment_variables
cf events dora
Getting events for app dora in org org / space space as admin.
2020-09-01T15:39:23.00-0700 audit.app.revision.environment_variables.show admin
2020-09-01T15:38:03.00-0700 audit.app.environment_variables.show admin
2020-09-01T15:37:33.00-0700 audit.app.environment.show admin