Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tethik/goldmark-yaml-block
https://github.com/tethik/goldmark-yaml-block
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tethik/goldmark-yaml-block
- Owner: Tethik
- License: mit
- Created: 2022-01-04T10:02:49.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-29T11:59:36.000Z (over 2 years ago)
- Last Synced: 2024-10-11T08:26:48.809Z (27 days ago)
- Language: Go
- Size: 15.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# README
⚠️ WIP - Work in progress
This is an extension to [goldmark markdown](https://github.com/yuin/goldmark) that enables custom parsing logic for threats/controls, to be used in a documentation system. Heavily based on [goldmark-meta](https://github.com/yuin/goldmark-meta).
It overrides the normal code-block parsing when detecting `yml control` or `yml threat` and
decodes the yaml code within.````markdown
```yml control
slug: sslmode-full-verify
title: SSLMODE Full Verify
description:
Per default, some postgres clients don't properly verify the TLS/SSL connection to postgres.
Ensure that clients (both services and developers) have their SSLMODE set to full-verify.
```
````````markdown
```yml threat
slug: shared-password
title: Shared Password
description: Avoid using the same password for multiple services and/or users. In case of an incident, it will be difficult to track down where the credentials were compromised and shared credentials are more likely to leak.
```
````