Skip to content

Commit

Permalink
Rename github org (securego#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
gcmurphy authored Jul 19, 2018
1 parent 1923b6d commit da26f64
Show file tree
Hide file tree
Showing 36 changed files with 50 additions and 50 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ install:
- go get -u github.com/onsi/ginkgo/ginkgo
- go get -u github.com/onsi/gomega
- go get -u golang.org/x/crypto/ssh
- go get -u github.com/GoASTScanner/gas/cmd/gas/...
- go get -u github.com/securego/gas/cmd/gas/...
- go get -v -t ./...
- export PATH=$PATH:$HOME/gopath/bin

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


## GAS - Go AST Scanner
## GAS - Go Application Security

Inspects source code for security problems by scanning the Go AST.

Expand All @@ -12,15 +12,15 @@ You may obtain a copy of the License [here](http://www.apache.org/licenses/LICEN

### Project status

[![Build Status](https://travis-ci.org/GoASTScanner/gas.svg?branch=master)](https://travis-ci.org/GoASTScanner/gas)
[![GoDoc](https://godoc.org/github.com/GoASTScanner/gas?status.svg)](https://godoc.org/github.com/GoASTScanner/gas)
[![Build Status](https://travis-ci.org/securego/gas.svg?branch=master)](https://travis-ci.org/securego/gas)
[![GoDoc](https://godoc.org/github.com/securego/gas?status.svg)](https://godoc.org/github.com/securego/gas)

Gas is still in alpha and accepting feedback from early adopters. We do
not consider it production ready at this time.

### Install

`$ go get github.com/GoASTScanner/gas/cmd/gas/...`
`$ go get github.com/securego/gas/cmd/gas/...`

### Usage

Expand Down Expand Up @@ -188,7 +188,7 @@ The configuration of TLS rule can be generated from [Mozilla's TLS ciphers recom
First you need to install the generator tool:

```
go get github.com/GoASTScanner/gas/cmd/tlsconfig/...
go get github.com/securego/gas/cmd/tlsconfig/...
```

You can invoke now the `go generate` in the root of the project:
Expand Down
6 changes: 3 additions & 3 deletions analyzer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import (
"os"
"strings"

"github.com/GoASTScanner/gas"
"github.com/GoASTScanner/gas/rules"
"github.com/securego/gas"
"github.com/securego/gas/rules"

"github.com/GoASTScanner/gas/testutils"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/securego/gas/testutils"
)

var _ = Describe("Analyzer", func() {
Expand Down
4 changes: 2 additions & 2 deletions call_list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package gas_test
import (
"go/ast"

"github.com/GoASTScanner/gas"
"github.com/GoASTScanner/gas/testutils"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/securego/gas"
"github.com/securego/gas/testutils"
)

var _ = Describe("call list", func() {
Expand Down
6 changes: 3 additions & 3 deletions cmd/gas/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ import (
"sort"
"strings"

"github.com/GoASTScanner/gas"
"github.com/GoASTScanner/gas/output"
"github.com/GoASTScanner/gas/rules"
"github.com/kisielk/gotool"
"github.com/securego/gas"
"github.com/securego/gas/output"
"github.com/securego/gas/rules"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion cmd/gas/sort_issues.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"sort"

"github.com/GoASTScanner/gas"
"github.com/securego/gas"
)

type sortBySeverity []*gas.Issue
Expand Down
2 changes: 1 addition & 1 deletion cmd/tlsconfig/header_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ package {{.}}
import (
"go/ast"
"github.com/GoASTScanner/gas"
"github.com/securego/gas"
)
`))
2 changes: 1 addition & 1 deletion config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package gas_test
import (
"bytes"

"github.com/GoASTScanner/gas"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/securego/gas"
)

var _ = Describe("Configuration", func() {
Expand Down
6 changes: 3 additions & 3 deletions issue_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ package gas_test
import (
"go/ast"

"github.com/GoASTScanner/gas"
"github.com/GoASTScanner/gas/rules"
"github.com/GoASTScanner/gas/testutils"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/securego/gas"
"github.com/securego/gas/rules"
"github.com/securego/gas/testutils"
)

var _ = Describe("Issue", func() {
Expand Down
2 changes: 1 addition & 1 deletion output/formatter.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"io"
plainTemplate "text/template"

"github.com/GoASTScanner/gas"
"github.com/securego/gas"
"gopkg.in/yaml.v2"
)

Expand Down
2 changes: 1 addition & 1 deletion output/junit_xml_format.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
htmlLib "html"
"strconv"

"github.com/GoASTScanner/gas"
"github.com/securego/gas"
)

type junitXMLReport struct {
Expand Down
4 changes: 2 additions & 2 deletions resolve_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package gas_test
import (
"go/ast"

"github.com/GoASTScanner/gas"
"github.com/GoASTScanner/gas/testutils"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/securego/gas"
"github.com/securego/gas/testutils"
)

var _ = Describe("Resolve ast node to concrete value", func() {
Expand Down
2 changes: 1 addition & 1 deletion rule_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"fmt"
"go/ast"

"github.com/GoASTScanner/gas"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/securego/gas"
)

type mockrule struct {
Expand Down
2 changes: 1 addition & 1 deletion rules/archive.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"go/ast"
"go/types"

"github.com/GoASTScanner/gas"
"github.com/securego/gas"
)

type archive struct {
Expand Down
2 changes: 1 addition & 1 deletion rules/big.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package rules
import (
"go/ast"

"github.com/GoASTScanner/gas"
"github.com/securego/gas"
)

type usingBigExp struct {
Expand Down
2 changes: 1 addition & 1 deletion rules/bind.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"go/ast"
"regexp"

"github.com/GoASTScanner/gas"
"github.com/securego/gas"
)

// Looks for net.Listen("0.0.0.0") or net.Listen(":8080")
Expand Down
2 changes: 1 addition & 1 deletion rules/blacklist.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"go/ast"
"strings"

"github.com/GoASTScanner/gas"
"github.com/securego/gas"
)

type blacklistedImport struct {
Expand Down
2 changes: 1 addition & 1 deletion rules/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"go/ast"
"go/types"

"github.com/GoASTScanner/gas"
"github.com/securego/gas"
)

type noErrorCheck struct {
Expand Down
2 changes: 1 addition & 1 deletion rules/fileperms.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"go/ast"
"strconv"

"github.com/GoASTScanner/gas"
"github.com/securego/gas"
)

type filePermissions struct {
Expand Down
2 changes: 1 addition & 1 deletion rules/hardcoded_credentials.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import (
"regexp"
"strconv"

"github.com/GoASTScanner/gas"
"github.com/nbutton23/zxcvbn-go"
"github.com/securego/gas"
)

type credentials struct {
Expand Down
2 changes: 1 addition & 1 deletion rules/rand.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package rules
import (
"go/ast"

"github.com/GoASTScanner/gas"
"github.com/securego/gas"
)

type weakRand struct {
Expand Down
2 changes: 1 addition & 1 deletion rules/readfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"go/ast"
"go/types"

"github.com/GoASTScanner/gas"
"github.com/securego/gas"
)

type readfile struct {
Expand Down
2 changes: 1 addition & 1 deletion rules/rsa.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"fmt"
"go/ast"

"github.com/GoASTScanner/gas"
"github.com/securego/gas"
)

type weakKeyStrength struct {
Expand Down
2 changes: 1 addition & 1 deletion rules/rulelist.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
package rules

import (
"github.com/GoASTScanner/gas"
"github.com/securego/gas"
)

// RuleDefinition contains the description of a rule and a mechanism to
Expand Down
6 changes: 3 additions & 3 deletions rules/rules_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import (
"fmt"
"log"

"github.com/GoASTScanner/gas"
"github.com/securego/gas"

"github.com/GoASTScanner/gas/rules"
"github.com/GoASTScanner/gas/testutils"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/securego/gas/rules"
"github.com/securego/gas/testutils"
)

var _ = Describe("gas rules", func() {
Expand Down
2 changes: 1 addition & 1 deletion rules/sql.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"go/ast"
"regexp"

"github.com/GoASTScanner/gas"
"github.com/securego/gas"
)

type sqlStatement struct {
Expand Down
2 changes: 1 addition & 1 deletion rules/ssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package rules
import (
"go/ast"

"github.com/GoASTScanner/gas"
"github.com/securego/gas"
)

type sshHostKey struct {
Expand Down
2 changes: 1 addition & 1 deletion rules/subproc.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"go/ast"
"go/types"

"github.com/GoASTScanner/gas"
"github.com/securego/gas"
)

type subprocess struct {
Expand Down
2 changes: 1 addition & 1 deletion rules/tempfiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"go/ast"
"regexp"

"github.com/GoASTScanner/gas"
"github.com/securego/gas"
)

type badTempFile struct {
Expand Down
2 changes: 1 addition & 1 deletion rules/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package rules
import (
"go/ast"

"github.com/GoASTScanner/gas"
"github.com/securego/gas"
)

type templateCheck struct {
Expand Down
2 changes: 1 addition & 1 deletion rules/tls.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"fmt"
"go/ast"

"github.com/GoASTScanner/gas"
"github.com/securego/gas"
)

type insecureConfigTLS struct {
Expand Down
2 changes: 1 addition & 1 deletion rules/tls_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package rules
import (
"go/ast"

"github.com/GoASTScanner/gas"
"github.com/securego/gas"
)

// NewModernTLSCheck creates a check for Modern TLS ciphers
Expand Down
2 changes: 1 addition & 1 deletion rules/unsafe.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package rules
import (
"go/ast"

"github.com/GoASTScanner/gas"
"github.com/securego/gas"
)

type usingUnsafe struct {
Expand Down
2 changes: 1 addition & 1 deletion rules/weakcrypto.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package rules
import (
"go/ast"

"github.com/GoASTScanner/gas"
"github.com/securego/gas"
)

type usesWeakCryptography struct {
Expand Down
2 changes: 1 addition & 1 deletion testutils/pkg.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"path"
"strings"

"github.com/GoASTScanner/gas"
"github.com/securego/gas"
"golang.org/x/tools/go/loader"
)

Expand Down
2 changes: 1 addition & 1 deletion testutils/visitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package testutils
import (
"go/ast"

"github.com/GoASTScanner/gas"
"github.com/securego/gas"
)

// MockVisitor is useful for stubbing out ast.Visitor with callback
Expand Down

0 comments on commit da26f64

Please sign in to comment.