Closed dreamorosi closed 1 month ago
We use mermaid for diagrams in a few of our documentation pages and the documentation engine we use defaults to loading the script from a remote CDN.
To further improve our security posture we should switch to self hosting the script.
Other
Update the mkdocs.yml file and point it to https://docs.powertools.aws.dev/shared/mermaid.min.js
mkdocs.yml
Summary
We use mermaid for diagrams in a few of our documentation pages and the documentation engine we use defaults to loading the script from a remote CDN.
Why is this needed?
To further improve our security posture we should switch to self hosting the script.
Which area does this relate to?
Other
Solution
Update the
mkdocs.yml
file and point it to https://docs.powertools.aws.dev/shared/mermaid.min.jsAcknowledgment