8000 GitHub - modfin/securitytxt: Go service for rendering securitytxt page from environment variables
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

modfin/securitytxt

Repository files navigation

Securitytxt service

Reference:

This is a small go service that produces a securitytxt file from environment variables and serving it through a http server

The purpose for the container is to deploy in a k8s, or similar, context and adding it to the ingress on one of the following paths /.well-known/security.txt or /security.txt

Example

docker run -i \
    --env "CONTACT_URIS=mailto:security@example.com tel:+012-3456-789" \
    --env "EXPIRES=$(date --date="+1 year" +%Y-%m-%d)" \
    --publish "8080:8080" \
    modfin/securitytxt:latest 

Environment variables

COMMENT                (string)
EXPIRES                (yyyy-mm-dd or RFC3999)
CONTACT_URIS           ([]string, del " ")
ACKNOWLEDGMENT_URIS    ([]string, del " ")
CANONICAL_URIS         ([]string, del " ")
ENCRYPTION_URIS        ([]string, del " ")
HIRING_URIS            ([]string, del " ")
PREFERRED_LANGUAGES    ([]string, del " ")
POLICY_URIS            ([]string, del " ")

RAW_SECURITY_TXT       (string, overrides all other values)

About

Go service for rendering securitytxt page from environment variables

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0