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

Init security tracker domain and monitoring #520

Merged
merged 2 commits into from
Dec 12, 2024

Conversation

Erethon
Copy link
Contributor

@Erethon Erethon commented Dec 10, 2024

This is a PR to setup the Nixpkgs Security Tracker on the nixos.org domain.

On the surface this PR is very simple as it only:

  • Creates a new A record for tracker.security.nixos.org that points to a Hetzner Cloud VM host (188.245.41.195)
  • Adds monitoring for this domain

The VM is part of the nixpkgs-security-tracker Hetzner Cloud project which @zimbatm gave me access to a while ago.

The configuration of this host will eventually be here, but please note that this draft PR contains the important bits for now and isn't merged yet as it depends on having a .nixos.org domain for the host.

I've copy-pasted ssh-keys.nix as it exists in commit 0d476c9, so everyone from the (current) infra team has access to the host as root.

I think if this is merged and applied as is, we'll get an alert for the domain. If we don't mind that, this is the simplest option to move forward as I'll be able to generate a certificate for tracker.security.nixos.org then and the alert will go away. Otherwise, we can first only apply the Terraform DNS change and later the Prometheus change to avoid the alert.

@Erethon Erethon requested a review from a team as a code owner December 10, 2024 23:23
@Mic92
Copy link
Member

Mic92 commented Dec 11, 2024

Depends on #519

@Mic92 Mic92 marked this pull request as draft December 11, 2024 08:11
@Erethon Erethon force-pushed the init-security-tracker branch from 2a5040b to 1421d44 Compare December 12, 2024 01:10
@Mic92 Mic92 marked this pull request as ready for review December 12, 2024 01:38
@mweinelt mweinelt merged commit 5a8a3dc into NixOS:master Dec 12, 2024
3 checks passed
@mweinelt
Copy link
Member

DNS changes applied.

@Erethon
Copy link
Contributor Author

Erethon commented Dec 12, 2024

Thank you both! I've configured the host to use that domain now, so feel free to apply the prometheus changes whenever you have the time.

@mweinelt
Copy link
Member

Also applied.

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.

3 participants