Provide public security contact information
- Tier: Free, Premium, Ultimate
- Offering: Self-managed
Organizations can facilitate the responsible disclosure of security issues by
providing public contact information. GitLab supports using a
security.txt
file for this purpose.
Administrators can add a security.txt
file using the GitLab UI or the
REST API.
Any content added is made available at
https://gitlab.example.com/.well-known/security.txt
. Authentication is not
required to view this file.
To configure a security.txt
file:
- On the left sidebar, at the bottom, select Admin.
- Select Settings > General.
- Expand Add security contact information.
- In Content for security.txt, enter security contact information in the format documented at https://securitytxt.org/.
- Select Save changes.
For information about how to respond if you receive a report, see Responding to security incidents.
Example security.txt
file
The format of this information is documented at https://securitytxt.org/.
An example security.txt
file is:
Contact: mailto:security@example.com
Expires: 2024-12-31T23:59Z
Docs
Edit this page to fix an error or add an improvement in a merge request.
Create an issue to suggest an improvement to this page.
Product
Create an issue if there's something you don't like about this feature.
Propose functionality by submitting a feature request.
Feature availability and product trials
View pricing to see all GitLab tiers and features, or to upgrade.
Try GitLab for free with access to all features for 30 days.
Get help
If you didn't find what you were looking for, search the docs.
If you want help with something specific and could use community support, post on the GitLab forum.
For problems setting up or using this feature (depending on your GitLab subscription).
Request support