security-alliance / frameworks

Official repository for the Security Frameworks by SEAL. Currently under development, not a release.
https://seal-frameworks.vercel.app/
1 stars 1 forks source link
best-practices checklist framwork guidelines practices security web2 web3

Security Frameworks content repository

Official repository to the Security Frameworks by SEAL. This repository contains the entire structure and contents of the frameworks. Feel free to suggest from new categories to grammar corrections. Collaboration is open to everyone. This is a work in progress.

If you want to know more about the frameworks or take a peek at the live book go to the following branches below: Main, Development.

Production will be at frameworks.securityalliance.org, but not yet available.

Quick installation and local setup

  1. gh repo clone security-alliance/frameworks
  2. git checkout develop
  3. cargo install mdbook mdbook-admonish mdbook-catppuccin
  4. ./serve.sh

Collaboration

There are currently two ways to collaborate. The first one is by logging from your vercel account and commenting directly on the deployed version of the book, and the second one is by forking the repository and creating a pull request.

Comments

To comment on the live version of the book under development, you will need to log in to your Vercel account. Please visit this link, which includes a read access token. A floating window will appear at the bottom, and you'll be ready to go.

Pull requests

  1. Fork the repository. Click on the "Fork" button at the top right corner of the page.
  2. Clone the forked repository to your local machine. Open your terminal or command prompt. git clone https://github.com/your-username/frameworks.git
  3. Make sure you're in the develop branch first. git checkout develop
  4. Inside the folder create a new branch based on develop. git checkout -b develop
  5. Make your changes.
  6. Make sure your changes don't break anything by testing it in the local setup (see above). ./serve.sh.
  7. Commit your changes. git add .
  8. Commit the changes with a descriptive message: git commit -m "Fixing typos and improving readability on XXX section"
  9. Push the changes to your forked repository. git push origin develop
  10. Create a pull request. Go to your forked repository on GitHub. You should see a "Compare & pull request" button. Click on it. Provide a descriptive title and description for your pull request.
  11. Click on the "Create pull request" button.
  12. Wait for review. Once your pull request is approved, and no more changes are needeed, we will merge it into the main repository.
  13. Congratulations! Your changes are now part of the security frameworks!

Editor area

Editors merge PRs and push suggestions to the main branch which will be reflected on the live book.

  1. git checkout main
  2. git fetch origin develop
  3. git merge origin/develop
  4. Manually merge files, solve conflicts and add a description.

caveats