diff --git a/nixos/tests/paretosecurity.nix b/nixos/tests/paretosecurity.nix index 4bafcf1c1f8c..4a0f00e66000 100644 --- a/nixos/tests/paretosecurity.nix +++ b/nixos/tests/paretosecurity.nix @@ -19,20 +19,20 @@ oldAttrs.postPatch or "" + '' substituteInPlace team/report.go \ - --replace-warn 'const reportURL = "https://dash.paretosecurity.com"' \ - 'const reportURL = "http://dashboard"' + --replace-warn 'const reportURL = "https://cloud.paretosecurity.com"' \ + 'const reportURL = "http://cloud"' ''; }); }; }; - nodes.dashboard = { + nodes.cloud = { networking.firewall.allowedTCPPorts = [ 80 ]; services.nginx = { enable = true; - virtualHosts."dashboard" = { + virtualHosts."cloud" = { locations."/api/v1/team/".extraConfig = '' add_header Content-Type application/json; return 200 '{"message": "Linked device."}'; @@ -72,7 +72,7 @@ testScript = '' # Test setup terminal.succeed("su - alice -c 'mkdir -p /home/alice/.config'") - for m in [terminal, dashboard]: + for m in [terminal, cloud]: m.systemctl("start network-online.target") m.wait_for_unit("network-online.target") diff --git a/pkgs/by-name/pa/paretosecurity/package.nix b/pkgs/by-name/pa/paretosecurity/package.nix index 53722be17a66..c6e774528f2d 100644 --- a/pkgs/by-name/pa/paretosecurity/package.nix +++ b/pkgs/by-name/pa/paretosecurity/package.nix @@ -17,16 +17,16 @@ buildGoModule (finalAttrs: { webkitgtk_4_1 ]; pname = "paretosecurity"; - version = "0.2.31"; + version = "0.2.34"; src = fetchFromGitHub { owner = "ParetoSecurity"; repo = "agent"; rev = finalAttrs.version; - hash = "sha256-dYQNSzovWCX7sj7VjgBc5GHz+5dKLTiB5pvbVSLMyqY="; + hash = "sha256-tTFdgLpu7RRWx2B2VMROqs1HgG0qMbfUOS5KNLQFHQw="; }; - vendorHash = "sha256-PhuHRs0PjIJqY3ZBC4ga7zFxgf57xfPjJ3VIDaA61F0="; + vendorHash = "sha256-RAKYaNi+MXUfNnEJmZF5g9jFBDOPIVBOZWtqZp2FwWY="; proxyVendor = true; # Skip building the Windows installer