Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ci): Add nancy vuln scanner #152

Merged
merged 2 commits into from
Feb 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ orbs:
changelog: ory/[email protected]
sdk: ory/[email protected]
goreleaser: ory/[email protected]
nancy: ory/[email protected]

jobs:
format:
Expand Down Expand Up @@ -70,6 +71,10 @@ workflows:
version: 2
"test, build, and relase":
jobs:
- nancy/test:
filters:
tags:
only: /.*/
- format:
filters:
tags:
Expand Down
9 changes: 4 additions & 5 deletions docs/api.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -1069,7 +1069,6 @@
},
"definitions": {
"addOryAccessControlPolicyRoleMembersBody": {
"description": "AddOryAccessControlPolicyRoleMembersBody AddOryAccessControlPolicyRoleMembersBody add ory access control policy role members body",
"type": "object",
"properties": {
"members": {
Expand All @@ -1083,7 +1082,7 @@
},
"authorizationResult": {
"type": "object",
"title": "AuthorizationResult AuthorizationResult AuthorizationResult is the result of an access control decision. It contains the decision outcome.",
"title": "AuthorizationResult AuthorizationResult AuthorizationResult AuthorizationResult is the result of an access control decision. It contains the decision outcome.",
"required": [
"allowed"
],
Expand All @@ -1095,6 +1094,7 @@
}
},
"healthNotReadyStatus": {
"description": "HealthNotReadyStatus health not ready status",
"type": "object",
"properties": {
"errors": {
Expand All @@ -1117,7 +1117,7 @@
},
"oryAccessControlPolicy": {
"type": "object",
"title": "oryAccessControlPolicy specifies an ORY Access Policy document.",
"title": "OryAccessControlPolicy oryAccessControlPolicy specifies an ORY Access Policy document.",
"properties": {
"actions": {
"description": "Actions is an array representing all the actions this ORY Access Policy applies to.",
Expand Down Expand Up @@ -1187,7 +1187,7 @@
}
},
"oryAccessControlPolicyRole": {
"description": "OryAccessControlPolicyRole oryAccessControlPolicyRole represents a group of users that share the same role. A role could be an administrator, a moderator, a regular\nuser or some other sort of role.",
"description": "oryAccessControlPolicyRole represents a group of users that share the same role. A role could be an administrator, a moderator, a regular\nuser or some other sort of role.",
"type": "object",
"properties": {
"id": {
Expand All @@ -1204,7 +1204,6 @@
}
},
"version": {
"description": "Version version",
"type": "object",
"properties": {
"version": {
Expand Down
10 changes: 3 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module github.com/ory/keto

require (
github.com/Microsoft/go-winio v0.4.12 // indirect
github.com/akutz/goof v0.1.2 // indirect
github.com/akutz/gotil v0.1.0
github.com/go-errors/errors v1.0.1
Expand All @@ -20,24 +19,21 @@ require (
github.com/julienschmidt/httprouter v1.2.0
github.com/kardianos/osext v0.0.0-20170510131534-ae77be60afb1 // indirect
github.com/lib/pq v1.0.0
github.com/meatballhat/negroni-logrus v0.0.0-20170801195057-31067281800f
github.com/open-policy-agent/opa v0.10.1
github.com/opencontainers/runc v1.0.0-rc5 // indirect
github.com/ory/go-acc v0.0.0-20181118080137-ddc355013f90
github.com/ory/graceful v0.1.1
github.com/ory/herodot v0.6.2
github.com/ory/sdk/swagutil v0.0.0-20200113182044-f6518ab8017d
github.com/ory/sdk/swagutil v0.0.0-20200131170418-ead0c2285f93
github.com/ory/viper v1.5.6
github.com/ory/x v0.0.88
github.com/ory/x v0.0.93
github.com/pborman/uuid v1.2.0
github.com/pkg/errors v0.8.1
github.com/pkg/errors v0.9.1
github.com/pkg/profile v1.3.0 // indirect
github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a // indirect
github.com/rs/cors v1.6.0
github.com/rubenv/sql-migrate v0.0.0-20190327083759-54bad0a9b051
github.com/sirupsen/logrus v1.4.2
github.com/spf13/cobra v0.0.5
github.com/spf13/viper v1.6.1
github.com/sqs/goreturns v0.0.0-20181028201513-538ac6014518
github.com/stretchr/testify v1.4.0
github.com/urfave/negroni v1.0.0
Expand Down
48 changes: 40 additions & 8 deletions go.sum

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/httpclient/models/authorization_result.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/httpclient/models/health_not_ready_status.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/httpclient/models/ory_access_control_policy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/httpclient/models/version.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.