Coder Social home page Coder Social logo

example-prod's Introduction

Example Production Automated Governance

This repository represents an example of how you would automate governance in a production environment driven by a GitOps workflow.

Automated Governance is at its best when it is part of a continuous integration and continuous deployment (CI/CD) capability. In this model, there are no human hands (no manual hand-offs) from commit to production. Thus, security, compliance, and audit needs are met 100% for every commit. With Automated Governance, there are no workarounds or shortcuts that inadvertently lead to risk and vulnerabilities. source

How to use this Repository

Baseline

  • Baseline includes workflows for deploying k3d, installing zarf and deploying istio

Demo Workflows

Setup the initial workflows

  • Review the repository on GitHub
  • Create a demonstration branch
  • Cover how this is representative of a example production environment
  • Generate a component definition
  • Link an implemented-requirement with the pre-existing validations (in the validation directory)
  • Uncomment the Lula workflows in the .github/workflows directory
  • Commit changes to the repository
  • Open a PR and review workflow output
  • Download the assessment-results artifact
  • Store the results in the repository, commit, review with new threshold

Demonstrate Continuous Assessment

  • Uncomment the sample webapp from the zarf.yaml (non-complaint by default)
  • Commit and Review the PR output (failing)
  • Fix, commit, review the PR output (passing)

Component Generation

lula generate component -c https://raw.githubusercontent.com/usnistgov/oscal-content/master/nist.gov/SP800-53/rev5/json/NIST_SP-800-53_rev5_catalog.json -r ac-3,ac-4 -o oscal-component.yaml

Links

Add the following links to an implemented-requirement in order for Lula to provide validation

links:
  - href: file:./validations/validation.yaml
    rel: lula
    resource-fragment: '#07b19199-d4b6-42b7-8130-633c51517279'
  - href: file:./validations/validation.yaml
    rel: lula
    resource-fragment: '#96cd25e3-fdfa-451e-8dbd-3fb2ff211d40'

example-prod's People

Contributors

brandtkeller avatar

Watchers

 avatar

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.