Skip to content

Add buildpack upload audit event#4791

Merged
Samze merged 1 commit intomainfrom
buildpack_upload_event
Feb 4, 2026
Merged

Add buildpack upload audit event#4791
Samze merged 1 commit intomainfrom
buildpack_upload_event

Conversation

@Samze
Copy link
Contributor

@Samze Samze commented Jan 20, 2026

Thanks for contributing to cloud_controller_ng. To speed up the process of reviewing your pull request please provide us with:

  • A short explanation of the proposed change:

  • An explanation of the use cases your change solves

  • Links to any other associated PRs

  • I have reviewed the contributing guide

  • I have viewed, signed, and submitted the Contributor License Agreement

  • I have made this pull request to the main branch

  • I have run all the unit tests using bundle exec rake

  • I have run CF Acceptance Tests

@Samze Samze force-pushed the buildpack_upload_event branch from 8a67176 to 4531765 Compare January 21, 2026 16:37
alias_method :resource_guid, :buildpack_guid

def initialize(buildpack_guid, buildpack_bits_path, buildpack_bits_name)
def initialize(buildpack_guid, buildpack_bits_path, buildpack_bits_name, user_audit_info=nil, request_attrs=nil)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

note Make new parameters optional on job, incase an existing job has been serialised but yet to be processed during an upgrade.

@Samze Samze marked this pull request as ready for review January 21, 2026 17:56
@Samze Samze requested a review from sethboyles January 21, 2026 21:19
actor_username: user_audit_info.user_name,
timestamp: Sequel::CURRENT_TIMESTAMP,
space_guid: '',
organization_guid: '',
Copy link
Contributor

Choose a reason for hiding this comment

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

Any reason the org and space guids don't get set?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Uploading a buildpack is not org/space scoped. It's foundation wide

@Samze Samze merged commit fbdf9fd into main Feb 4, 2026
12 checks passed
ari-wg-gitbot added a commit to cloudfoundry/capi-release that referenced this pull request Feb 4, 2026
Changes in cloud_controller_ng:

- Fix issues with processes_sync:
    PR: cloudfoundry/cloud_controller_ng#4809
    Author: Seth Boyles <seth.boyles@broadcom.com>

- Add buildpack upload audit event
    PR: cloudfoundry/cloud_controller_ng#4791
    Author: Sam Gunaratne <385176+Samze@users.noreply.github.com>
@moleske moleske deleted the buildpack_upload_event branch February 4, 2026 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants