Giter Site home page Giter Site logo

sulu-securitytxt-bundle's Introduction

sulu-securitytxt-bundle

Mastodon Follow

This is a Sulu Bundle to manage security.txt files for your Sulu webspaces.

According to securitytxt.org the main purpose of security.txt is to help make things easier for companies and security researchers when trying to secure platforms. Thanks to security.txt, security researchers can easily get in touch with companies about security issues.

Installation

composer require bitexpert/sulu-securitytxt-bundle
  1. Register the bundle in the file config/bundles.php
BitExpert\Sulu\SecuritytxtBundle\BitExpertSuluSecuritytxtBundle::class => ['all' => true],
  1. Configure the routing as follows:

Create file config/routes/securitytxt_admin.yaml:

securitytxt_api:
    resource: "@BitExpertSuluSecuritytxtBundle/Resources/config/routing_api.yaml"
    type: rest
    prefix:   /admin/api

Create file config/routes/securitytxt_website.yaml:

securitytxt_website:
  resource: "@BitExpertSuluSecuritytxtBundle/Resources/config/routing_website.yaml"
  1. Run Doctrine Schema Update
./bin/adminconsole doctrine:schema:update -f

Usage

Once installed, this bundle adds a tab called "Security.txt" to the webspaces configuration which allows you to create new security.txt entries for the different webspaces. For each webspace only one security.txt configuration can be saved.

Since 0.5.0: Only users with the Securitytxt permissions can view, add, edit or delete the security.txt entries.

Contribute

Please feel free to fork and extend existing or add new features and send a pull request with your changes! To establish a consistent code quality, please provide unit tests for all your changes and adapt the documentation.

Want To Contribute?

If you feel that you have something to share, then we’d love to have you. Check out the contributing guide to find out how, as well as what we expect from you.

License

Sulu Security.txt Bundle is released under the MIT License.

sulu-securitytxt-bundle's People

Contributors

dependabot[bot] avatar shochdoerfer avatar thecadien avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

sulu-securitytxt-bundle's Issues

Simplify Admin UI

Once this PR is merged & published in Sulu, simplify the Admin UI by removing the list element and display the form directly on the page.

Add Security context

Add security context to the Admin UI, to Handle which Role could use the Component

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.