mirror of
https://github.com/strongdm/comply
synced 2025-12-15 19:00:50 +00:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
135cbc6c9c | ||
|
|
b82183e777 | ||
|
|
6d50beffe4 | ||
|
|
bf92fe64ac | ||
|
|
47e7dc93e5 | ||
|
|
4ee63d98a7 | ||
|
|
e53e8ed03d |
18
Makefile
18
Makefile
@@ -12,15 +12,15 @@ assets: $(THEME_SOURCES)
|
|||||||
comply: assets $(GO_SOURCES)
|
comply: assets $(GO_SOURCES)
|
||||||
@# $(eval VERSION := $(shell git describe --tags --always --dirty="-dev"))
|
@# $(eval VERSION := $(shell git describe --tags --always --dirty="-dev"))
|
||||||
@# $(eval LDFLAGS := -ldflags='-X "github.com/strongdm/comply/internal/cli.Version=$(VERSION)"')
|
@# $(eval LDFLAGS := -ldflags='-X "github.com/strongdm/comply/internal/cli.Version=$(VERSION)"')
|
||||||
go build $(LDFLAGS) github.com/strongdm/comply/cmd/comply
|
go build $(LDFLAGS) github.com/strongdm/comply
|
||||||
|
|
||||||
dist: clean
|
dist: clean
|
||||||
$(eval VERSION := $(shell git describe --tags --always --dirty="-dev"))
|
$(eval VERSION := $(shell git describe --tags --always --dirty="-dev"))
|
||||||
$(eval LDFLAGS := -ldflags='-X "github.com/strongdm/comply/internal/cli.Version=$(VERSION)"')
|
$(eval LDFLAGS := -ldflags='-X "github.com/strongdm/comply/internal/cli.Version=$(VERSION)"')
|
||||||
mkdir dist
|
mkdir dist
|
||||||
echo $(VERSION)
|
echo $(VERSION)
|
||||||
GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 go build -gcflags=-trimpath=$(GOPATH) -asmflags=-trimpath=$(GOPATH) $(LDFLAGS) -o dist/comply-$(VERSION)-darwin-amd64 ./cmd/comply
|
GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 go build -gcflags=-trimpath=$(GOPATH) -asmflags=-trimpath=$(GOPATH) $(LDFLAGS) -o dist/comply-$(VERSION)-darwin-amd64 .
|
||||||
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -gcflags=-trimpath=$(GOPATH) -asmflags=-trimpath=$(GOPATH) $(LDFLAGS) -o dist/comply-$(VERSION)-linux-amd64 ./cmd/comply
|
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -gcflags=-trimpath=$(GOPATH) -asmflags=-trimpath=$(GOPATH) $(LDFLAGS) -o dist/comply-$(VERSION)-linux-amd64 .
|
||||||
cd dist && tar -czvf comply-$(VERSION)-darwin-amd64.tgz comply-$(VERSION)-darwin-amd64
|
cd dist && tar -czvf comply-$(VERSION)-darwin-amd64.tgz comply-$(VERSION)-darwin-amd64
|
||||||
cd dist && tar -czvf comply-$(VERSION)-linux-amd64.tgz comply-$(VERSION)-linux-amd64
|
cd dist && tar -czvf comply-$(VERSION)-linux-amd64.tgz comply-$(VERSION)-linux-amd64
|
||||||
|
|
||||||
@@ -28,7 +28,7 @@ brew: clean assets $(GO_SOURCES)
|
|||||||
$(eval VERSION := $(shell cat version))
|
$(eval VERSION := $(shell cat version))
|
||||||
$(eval LDFLAGS := -ldflags='-X "github.com/strongdm/comply/internal/cli.Version=$(VERSION)"')
|
$(eval LDFLAGS := -ldflags='-X "github.com/strongdm/comply/internal/cli.Version=$(VERSION)"')
|
||||||
mkdir bin
|
mkdir bin
|
||||||
GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 go build -gcflags=-trimpath=$(GOPATH) -asmflags=-trimpath=$(GOPATH) $(LDFLAGS) -o bin/comply ./cmd/comply
|
GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 go build -gcflags=-trimpath=$(GOPATH) -asmflags=-trimpath=$(GOPATH) $(LDFLAGS) -o bin/comply .
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf bin
|
rm -rf bin
|
||||||
@@ -36,7 +36,7 @@ clean:
|
|||||||
rm -f comply
|
rm -f comply
|
||||||
|
|
||||||
install: assets $(GO_SOURCES)
|
install: assets $(GO_SOURCES)
|
||||||
go install github.com/strongdm/comply/cmd/comply
|
go install github.com/strongdm/comply
|
||||||
|
|
||||||
export-example:
|
export-example:
|
||||||
cp example/narratives/* themes/comply-soc2/narratives
|
cp example/narratives/* themes/comply-soc2/narratives
|
||||||
@@ -59,10 +59,12 @@ cleanse:
|
|||||||
git push -f origin master
|
git push -f origin master
|
||||||
git gc --aggressive --prune=all
|
git gc --aggressive --prune=all
|
||||||
|
|
||||||
release: dist release-deps
|
release-env:
|
||||||
ifndef GH_LOGIN
|
ifndef GH_LOGIN
|
||||||
$(error GH_LOGIN must be set to a valid GitHub token)
|
$(error GH_LOGIN must be set to a valid GitHub token)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
release: release-env dist release-deps
|
||||||
$(eval VERSION := $(shell git describe --tags --always --dirty="-dev"))
|
$(eval VERSION := $(shell git describe --tags --always --dirty="-dev"))
|
||||||
github-release release \
|
github-release release \
|
||||||
--security-token $$GH_LOGIN \
|
--security-token $$GH_LOGIN \
|
||||||
@@ -87,9 +89,9 @@ endif
|
|||||||
--name comply-$(VERSION)-linux-amd64.tgz \
|
--name comply-$(VERSION)-linux-amd64.tgz \
|
||||||
--file dist/comply-$(VERSION)-linux-amd64.tgz
|
--file dist/comply-$(VERSION)-linux-amd64.tgz
|
||||||
|
|
||||||
patch-release: patch release
|
patch-release: release-env patch release
|
||||||
|
|
||||||
minor-release: minor release
|
minor-release: release-env minor release
|
||||||
|
|
||||||
patch: clean gitsem
|
patch: clean gitsem
|
||||||
gitsem -m "increment patch for release" patch
|
gitsem -m "increment patch for release" patch
|
||||||
|
|||||||
10
README.md
10
README.md
@@ -6,6 +6,16 @@ Comply manages the lifecycle of your program throughout the year via your existi
|
|||||||
|
|
||||||
In addition to automation, Comply includes a SOC2-focused module featuring open source policy and procedure **templates** suitable for satisfying a SOC2 audit.
|
In addition to automation, Comply includes a SOC2-focused module featuring open source policy and procedure **templates** suitable for satisfying a SOC2 audit.
|
||||||
|
|
||||||
|
# Getting Started
|
||||||
|
|
||||||
|
macOS:
|
||||||
|
|
||||||
|
`brew install comply`
|
||||||
|
|
||||||
|
Go users:
|
||||||
|
|
||||||
|
`go get github.com/strongdm/comply`
|
||||||
|
|
||||||
# Discussion
|
# Discussion
|
||||||
|
|
||||||
Join us in [Comply Users](https://join.slack.com/t/comply-users/shared_invite/enQtMzU3MTk5MDkxNDU4LTMwYzZkMjA4YjQ2YTM5Zjc0NTAyYWY5MDBlOGMwMzRmZTk5YzBlOTRiMTVlNGRlZjY1MTY1NDE0MjY5ZjYwNWU)
|
Join us in [Comply Users](https://join.slack.com/t/comply-users/shared_invite/enQtMzU3MTk5MDkxNDU4LTMwYzZkMjA4YjQ2YTM5Zjc0NTAyYWY5MDBlOGMwMzRmZTk5YzBlOTRiMTVlNGRlZjY1MTY1NDE0MjY5ZjYwNWU)
|
||||||
|
|||||||
@@ -34,4 +34,4 @@ This policy defines the high level objectives and implementation instructions fo
|
|||||||
- Sensitivity and criticality of the information, based on the highest risk calculated for each information item during the risk assessment.
|
- Sensitivity and criticality of the information, based on the highest risk calculated for each information item during the risk assessment.
|
||||||
- Legal, regulatory and contractual obligations.
|
- Legal, regulatory and contractual obligations.
|
||||||
|
|
||||||
- Information must be classified based on confidentiality levels as defined in Table 1.
|
- Information must be classified based on confidentiality levels as defined in Table 1
|
||||||
|
|||||||
Reference in New Issue
Block a user