Go to file
Rodolfo Campos aab484948d
Merge pull request #129 from darwin67/master
Update README to clarify github config attributes
2022-07-21 10:02:53 +02:00
build Update pandoc dockerfile and latex template and fix infinite build, fix pandoc always pull and fix strikethrough (#100, #103 and #115) 2021-10-19 16:05:25 -03:00
example Update pandoc dockerfile and latex template and fix infinite build, fix pandoc always pull and fix strikethrough (#100, #103 and #115) 2021-10-19 16:05:25 -03:00
fixtures Merge branch 'master' of https://github.com/camposer/comply into fix/infinite-build 2021-10-19 16:11:41 -03:00
internal internal/theme: fix shadowed error 2022-03-24 00:23:45 -07:00
themes Update pandoc dockerfile and latex template and fix infinite build, fix pandoc always pull and fix strikethrough (#100, #103 and #115) 2021-10-19 16:05:25 -03:00
vendor Fix dependency vulnerabilities (#125) 2022-05-05 14:36:07 -03:00
.env.example Update pandoc dockerfile and latex template and fix infinite build, fix pandoc always pull and fix strikethrough (#100, #103 and #115) 2021-10-19 16:05:25 -03:00
.gitignore Fix error when getting images without tags (#100) 2021-11-03 12:47:41 +01:00
AUTHORS.txt update authors 2018-12-17 14:43:00 -08:00
Dockerfile Fix comply binary outdated version (#125) 2022-05-05 16:25:47 -03:00
LICENSE.txt Initial commit 2018-05-15 14:13:11 -07:00
Makefile Slack webhook to env var 2021-11-04 22:53:34 -07:00
README.md Update README to clarify github config attributes 2022-07-21 00:18:38 -07:00
SUPPORT.md Create SUPPORT.md 2021-12-27 12:23:10 +01:00
VERSION increment minor for release (via Makefile) 2021-11-04 22:42:52 -07:00
comply.go Update pandoc dockerfile and latex template and fix infinite build, fix pandoc always pull and fix strikethrough (#100, #103 and #115) 2021-10-19 16:05:25 -03:00
comply.rb Initial commit 2018-05-15 14:13:11 -07:00
go.mod Fix dependency vulnerabilities (#125) 2022-05-05 14:36:07 -03:00
go.sum Fix dependency vulnerabilities (#125) 2022-05-05 14:36:07 -03:00
logo.png logo (small) 2018-05-18 17:27:28 -07:00
pdf-example.png Initial commit 2018-05-15 14:13:11 -07:00
sc-1.gif Initial commit 2018-05-15 14:13:11 -07:00
sc-2.gif Initial commit 2018-05-15 14:13:11 -07:00
sc-3.gif Initial commit 2018-05-15 14:13:11 -07:00
sc-4.gif Initial commit 2018-05-15 14:13:11 -07:00
tools.go chore: migrate to go modules 2019-07-14 13:51:10 -03:00

README.md

Comply

Comply is a SOC2-focused compliance automation tool:

  • Policy Generator: markdown-powered document pipeline for publishing auditor-friendly policy documents
  • Ticketing Integration: automate compliance throughout the year via your existing ticketing system
  • SOC2 Templates: open source policy and procedure templates suitable for satisfying a SOC2 audit

Installation

macOS:

brew tap strongdm/comply; brew install comply

Linux:

Download latest release

Go users:

go get github.com/strongdm/comply

Get Started

Start with comply init:

$ mkdir my-company
$ cd my-company
$ comply init

Once comply init is complete, just git init and git push your project to a new repository. You're ready to begin editing the included policy boilerplate text.

Discussion

Join us in Comply Users

Screenshots

Demo video

Start a Project

screencast 1

Build PDFs

screencast 4 pdf example

Track Policy Coverage

screencast 3

Dashboard

screencast 2

Dependencies

Comply relies on pandoc, which can be installed directly as an OS package or invoked via Docker.

CLI

NAME:
   comply - policy compliance toolkit

USAGE:
   comply [global options] command [command options] [arguments...]

COMMANDS:
     init             initialize a new compliance repository (interactive)
     build, b         generate a static website summarizing the compliance program
     procedure, proc  create ticket by procedure ID
     scheduler        create tickets based on procedure schedule
     serve            live updating version of the build command
     sync             sync ticket status to local cache
     todo             list declared vs satisfied compliance controls
     help, h          Shows a list of commands or help for one command

Running in Docker

Comply is currently only released for Linux and macOS, however from other operating systems it's possible to run using Docker:

# first pull the latest published docker image
$ docker pull strongdm/comply

# from an empty directory that will contain your comply project
$ docker run --rm -v "$PWD":/source -p 4000:4000 -it strongdm/comply
root@ec4544732298:/source# comply init
✗ Organization Name:

# serve content live from an established project
$ docker run --rm -v "$PWD":/source -p 4000:4000 -it strongdm/comply
root@ae4d499583fc:/source# comply serve
Serving content of output/ at http://127.0.0.1:4000 (ctrl-c to quit)

For Windows users, replace $PWD with the full path to your project directory

Running in macOS M1

If you're running Comply inside Docker, or using it installed by HomeBrew, in a macOS M1, you should increase the Docker allocatable memory space to ~7 GB, but it won't run smoothly. So, we recommend to run Comply locally with pandoc binary installed via HomeBrew. For that, install the pandoc and basictex packages using the following command:

brew install pandoc basictex

Then when running the Comply binary -installed by HomeBrew- it will work as expected.

Ticketing Integrations:

  • Jira
  • Github
  • Gitlab

Configuration

GitHub

Ticketing integration with GitHub can be configured with the following YAML in comply.yml:

tickets:
  github:
    repo: <repo-name>
    token: <token>
    username: org or personal username

If you're setting up the repo in your personal account, set username to your username. If you're setting up the repo in an github organization, set username to your org's username instead.

Also, GITHUB_REPO, GITHUB_TOKEN, and GITHUB_USERNAME can be used to override values from the YAML file.

Jira

When comply creates a ticket (through proc, for instance), it sets the following fields.

  • assignee
  • description
  • issuetype
  • labels
  • project key
  • reporter
  • summary

Please make sure that the default Create Screen has all of those fields enabled. Additionally, make sure that there are no other required fields for the issue type you choose.

About authentication, you need to create an API Token to use as a password.

Forking and local development

Assumes installation of golang and configuration of GOPATH in .bash_profile, .zshrc, etc Inspiration: http://code.openark.org/blog/development/forking-golang-repositories-on-github-and-managing-the-import-path

$ go get github.com/strongdm/comply
$ cd $GOPATH/src/github.com/strongdm/comply ; go get ./...
$ make
$ cd example
$ mv comply.yml.example comply.yml
$ ../comply -h
$ ../comply sync
$ ../comply serve
#
$ make # recompile as needed with in $GOPATH/src/github.com/strongdm/comply