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

overview for veracity replicate-logs #898

Merged
merged 27 commits into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
83d5774
over view for veracity replicate-logs
Sep 2, 2024
b5a9794
add finding recently appended log using watch example
Sep 2, 2024
19a8dfc
update the overview
Sep 3, 2024
4f5f13c
some re-ordering
Sep 3, 2024
184172f
nit markdown and spelling fixes
SteveLasker Sep 3, 2024
280078d
Content formatting edits
SteveLasker Sep 3, 2024
d32951d
Update content/developers/developer-patterns/3rdparty-verification/in…
robinbryce Sep 4, 2024
424b781
Merge pull request #900 from datatrails/steve/9614-formatting-style-e…
robinbryce Sep 4, 2024
0dc66c3
overview and diagram updates
Sep 5, 2024
07dcb9a
simplifications and clarifications & takeaways
Sep 6, 2024
f6e43a7
Nit markdown formatting and spelling fixes
SteveLasker Sep 6, 2024
4b66832
updates following discussion with Jim
Sep 10, 2024
dce1a9d
Update content/developers/developer-patterns/3rdparty-verification/in…
robinbryce Sep 11, 2024
525d4f3
Update content/developers/developer-patterns/3rdparty-verification/in…
robinbryce Sep 11, 2024
cd4f303
Update content/developers/developer-patterns/3rdparty-verification/in…
robinbryce Sep 11, 2024
2f6a86d
Update content/developers/developer-patterns/3rdparty-verification/in…
robinbryce Sep 11, 2024
f93faa3
Update content/developers/developer-patterns/3rdparty-verification/in…
robinbryce Sep 11, 2024
693c841
clarifications and re-wordings based on feedback from steve
Sep 11, 2024
373dc60
cleaned up the section explaining the place of full audit
Sep 11, 2024
cc62a56
more clarifications
Sep 11, 2024
e09a46a
Spelling & Formatting
SteveLasker Sep 11, 2024
337f63d
Content updates
SteveLasker Sep 11, 2024
fc8c7f6
Updating-imagery
SteveLasker Sep 11, 2024
7ca4cf8
Update diagrams to design system styling
Sep 12, 2024
ba19e7c
Text alignment
Sep 12, 2024
4641e85
Text alignment
Sep 12, 2024
9b5c034
fixups for --tenant option change
Sep 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added assets/images/DataTrailsDocAssets.pptx
Binary file not shown.
2 changes: 1 addition & 1 deletion config/_default/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ rssLimit = 10
for = '/**'
[server.headers.values]
Strict-Transport-Security = 'max-age=31536000; includeSubDomains'
Content-Security-Policy = "script-src 'self' 'sha256-GoUI0hA42/W90nTDE3+8IM59Pmj5d7MTNu1m0Qv4C+o=' 'sha256-eg7hiIPJDJy7WtCOgK4mlnMdUDYpX6h90ef9pORicds=' https://www.googletagmanager.com/gtag/js js.hs-scripts.com https://js.hscollectedforms.net/collectedforms.js js.hs-analytics.net https://js.usemessages.com/conversations-embed.js https://js.hsadspixel.net/fb.js js.hs-banner.com https://www.google-analytics.com/analytics.js googleads.g.doubleclick.net"
Content-Security-Policy = "script-src 'self' 'sha256-GoUI0hA42/W90nTDE3+8IM59Pmj5d7MTNu1m0Qv4C+o=' 'sha256-eg7hiIPJDJy7WtCOgK4mlnMdUDYpX6h90ef9pORicds=' https://cdn.jsdelivr.net https://www.googletagmanager.com/gtag/js js.hs-scripts.com https://js.hscollectedforms.net/collectedforms.js js.hs-analytics.net https://js.usemessages.com/conversations-embed.js https://js.hsadspixel.net/fb.js js.hs-banner.com https://www.google-analytics.com/analytics.js googleads.g.doubleclick.net"
Referrer-Policy = 'no-referrer-when-downgrade'
Permissions-Policy = 'autoplay "self"; cookie "self"'
X-Content-Type-Options = 'nosniff'
Expand Down
349 changes: 349 additions & 0 deletions content/developers/developer-patterns/3rdparty-verification/index.md

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions layouts/_default/_markup/render-codeblock-mermaid.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<div class="mermaid">
{{ .Inner | safeHTML }}
</div>
{{ .Page.Store.Set "hasMermaid" true }}
5 changes: 3 additions & 2 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@
{{ partial "footer/alert.html" . }}
{{ end }}
{{ partial "footer/script-footer.html" . }}
</body>
</html>
</body>

</html>
7 changes: 7 additions & 0 deletions layouts/partials/footer/script-footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@

{{ $js := $slice | resources.Concat "main.js" -}}

{{ if .Store.Get "hasMermaid" }}
<script type="module" src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.esm.min.mjs">
// can't do this as it requires enabling script-src 'unsafe-inline':
// mermaid.initialize({ startOnLoad: true, theme: 'base', themeVariables: { sketch: true } });
</script>
{{ end }}

{{ if eq (hugo.Environment) "development" -}}
{{ if .Site.Params.options.bootStrapJs -}}
<script src="{{ $bs.RelPermalink }}" defer></script>
Expand Down
14 changes: 12 additions & 2 deletions layouts/partials/head/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,18 @@
<meta http-equiv="X-Frame-Options" content="SAMEORIGIN">
<meta http-equiv="X-Content-Type-Options" content="nosniff">
<meta http-equiv="Referrer-Policy" content="no-referrer-when-downgrade">
<meta http-equiv="Permissions-Policy" content="autoplay 'self'; cookie 'self'">
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'sha256-GoUI0hA42/W90nTDE3+8IM59Pmj5d7MTNu1m0Qv4C+o=' 'sha256-eg7hiIPJDJy7WtCOgK4mlnMdUDYpX6h90ef9pORicds=' https://www.googletagmanager.com/gtag/js js.hs-scripts.com https://js.hscollectedforms.net/collectedforms.js js.hs-analytics.net https://js.usemessages.com/conversations-embed.js https://js.hsadspixel.net/fb.js js.hs-banner.com https://www.google-analytics.com/analytics.js googleads.g.doubleclick.net;">
<!-- NOTICE:
To allow the font styles to be applied, we have to permit unsafe-inline for styles-src.

THe prefered nonce based technique for securing this requires server side support which we don't have available via gh pages.
This exposes us to malictious css injection attacks which can misslead users to enter sensitive information and then capture it.

Given the static docs nature of this site, this seems acceptable but far from ideal

We DO NOT allow unsafe-inline for scripts-src, this is a major security risk and should be avoided at all costs.
-->
<meta http-equiv="Content-Security-Policy" content="style-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net/npm/mermaid/dist/; script-src 'self' 'sha256-GoUI0hA42/W90nTDE3+8IM59Pmj5d7MTNu1m0Qv4C+o=' 'sha256-eg7hiIPJDJy7WtCOgK4mlnMdUDYpX6h90ef9pORicds=' https://cdn.jsdelivr.net/npm/mermaid/dist/ https://www.googletagmanager.com/gtag/js js.hs-scripts.com https://js.hscollectedforms.net/collectedforms.js js.hs-analytics.net https://js.usemessages.com/conversations-embed.js https://js.hsadspixel.net/fb.js js.hs-banner.com https://www.google-analytics.com/analytics.js googleads.g.doubleclick.net;">
<!-- <meta http-equiv="Content-Security-Policy" content="default-src * 'unsafe-inline' 'unsafe-eval' data:;"> -->
{{ block "head/resource-hints" . }}{{ partial "head/resource-hints.html" . }}{{ end }}
{{ block "head/stylesheet" . }}{{ partial "head/stylesheet.html" . }}{{ end }}
{{ block "head/seo" . }}{{ partial "head/seo.html" . }}{{ end }}
Expand Down
Loading