1
0
mirror of https://github.com/strongdm/comply synced 2025-12-15 19:00:50 +00:00

Compare commits

...

7 Commits

Author SHA1 Message Date
Justin McCarthy
135cbc6c9c increment patch for release 2018-05-11 16:47:46 -07:00
Justin McCarthy
b82183e777 add comply.go to root 2018-05-11 16:47:36 -07:00
Justin McCarthy
6d50beffe4 relocate to root 2018-05-11 16:42:41 -07:00
Justin McCarthy
bf92fe64ac move to root 2018-05-11 16:41:17 -07:00
Justin McCarthy
47e7dc93e5 stubbing getting started in readme 2018-05-11 13:42:03 -07:00
Justin McCarthy
4ee63d98a7 increment patch for release 2018-05-11 13:36:36 -07:00
Justin McCarthy
e53e8ed03d make GH_LOGIN validation common to all release entrypoints 2018-05-11 13:36:11 -07:00
5 changed files with 22 additions and 10 deletions

View File

@@ -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

View File

@@ -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)

View File

@@ -1 +1 @@
1.1.13 1.1.15

View File

@@ -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