Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(updates.jenkins.io) import 'audit_logs to datadog' logpush resource #40

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

dduportal
Copy link
Contributor

@dduportal dduportal commented Oct 31, 2024

Ref. jenkins-infra/helpdesk#4372

This PR import the existing logpush created at the account level to push the audit logs to datadog.

It's a first step before:

  • Importing the the http_requests logpush to datadog for eastamerica created manually by @smerle33 and I testing the new feature (required Cloudflare account to be set top "Enterprise")
  • Creating a http_requests logpush to datadog for westeurope (same settings)

⚠️ This PR needs the datadog API key to be set as a credential in the pipeline: keeping as draft until it's done

Note: this PR also has 2 minor but needed changes:

  • Updating shared tools to latest available version
  • Setting the cloudflare API token input variable as sensitive...

@dduportal
Copy link
Contributor Author

  • Credential OK
  • But builds fails with Error: error reading logpush job '\U000bc82f' for &{accounts 8d1838a43923148c5cee18ccc356a594 account}: Authentication error (10000) error: need to update permissions of the Cloudflare APi token in the (private) terraform-states project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant