Log in
Model

Securitytxt

Magento\Securitytxt\Model\Securitytxt

What it does

This class generates the content for security.txt and security.txt.sig files, which are used to provide security vulnerability disclosure information to researchers.

Developers use this class to retrieve formatted security contact information and policies based on store configuration, commonly displayed at /.well-known/security.txt endpoint.

Public Methods

  • getSecuritytxt()
  • getSecuritytxtsig()