Skip to content

Commit d0f62e5

Browse files
authored
Merge pull request #86 from DefGuard/update_security_cosign
update security page with Cosign & Trivy
2 parents a54e893 + 7c19223 commit d0f62e5

File tree

4 files changed

+113
-0
lines changed

4 files changed

+113
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,7 @@ pnpm-debug.log*
1919

2020
# macOS-specific files
2121
.DS_Store
22+
23+
# direnv
24+
.envrc
25+
.direnv/

flake.lock

Lines changed: 61 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
description = "Astro development flake";
3+
4+
inputs = {
5+
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
6+
flake-utils.url = "github:numtide/flake-utils";
7+
};
8+
9+
outputs = {
10+
nixpkgs,
11+
flake-utils,
12+
...
13+
}:
14+
flake-utils.lib.eachDefaultSystem (system: let
15+
pkgs = import nixpkgs {
16+
inherit system;
17+
};
18+
in {
19+
devShells.default = pkgs.mkShell {
20+
packages = with pkgs; [
21+
nodejs_24
22+
pnpm
23+
# TS/JS LSP
24+
vtsls
25+
];
26+
};
27+
});
28+
}

src/pages/security.astro

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,26 @@ const tags = [
266266
</div>
267267
</FlexibleSection>
268268

269+
<FlexibleSection leftRatio={1} title="Verifiability of releases" theme="light">
270+
<div slot="left">
271+
<ul>
272+
<li>
273+
Authenticity and integrity of all release assets can be verified.
274+
</li>
275+
<li>
276+
All official Docker images are signed using
277+
<a href="https://github.com/sigstore/cosign">Cosign</a>
278+
and automatically scanned for known vulnerabilities with
279+
<a href="https://trivy.dev/">Trivy</a>.
280+
</li>
281+
<li>
282+
All release assets (binaries, packages, etc.) include SHA256 checksums
283+
that are automatically generated and published with each GitHub <a href="https://github.com/DefGuard/defguard/releases">release</a>.
284+
</li>
285+
</ul>
286+
</div>
287+
</FlexibleSection>
288+
269289
<FlexibleSection
270290
leftRatio={1}
271291
title="Found a security vulnerability in Defguard?"

0 commit comments

Comments
 (0)