Rename github org (#214)

This commit is contained in:
Grant Murphy 2018-07-19 17:40:28 +10:00 committed by GitHub
parent 1923b6d18e
commit da26f64208
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 50 additions and 50 deletions

View file

@ -11,7 +11,7 @@ install:
- go get -u github.com/onsi/ginkgo/ginkgo - go get -u github.com/onsi/ginkgo/ginkgo
- go get -u github.com/onsi/gomega - go get -u github.com/onsi/gomega
- go get -u golang.org/x/crypto/ssh - 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 ./... - go get -v -t ./...
- export PATH=$PATH:$HOME/gopath/bin - export PATH=$PATH:$HOME/gopath/bin

View file

@ -1,6 +1,6 @@
## GAS - Go AST Scanner ## GAS - Go Application Security
Inspects source code for security problems by scanning the Go AST. Inspects source code for security problems by scanning the Go AST.
@ -12,15 +12,15 @@ You may obtain a copy of the License [here](http://www.apache.org/licenses/LICEN
### Project status ### Project status
[![Build Status](https://travis-ci.org/GoASTScanner/gas.svg?branch=master)](https://travis-ci.org/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/GoASTScanner/gas?status.svg)](https://godoc.org/github.com/GoASTScanner/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 Gas is still in alpha and accepting feedback from early adopters. We do
not consider it production ready at this time. not consider it production ready at this time.
### Install ### Install
`$ go get github.com/GoASTScanner/gas/cmd/gas/...` `$ go get github.com/securego/gas/cmd/gas/...`
### Usage ### Usage
@ -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: 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: You can invoke now the `go generate` in the root of the project:

View file

@ -6,12 +6,12 @@ import (
"os" "os"
"strings" "strings"
"github.com/GoASTScanner/gas" "github.com/securego/gas"
"github.com/GoASTScanner/gas/rules" "github.com/securego/gas/rules"
"github.com/GoASTScanner/gas/testutils"
. "github.com/onsi/ginkgo" . "github.com/onsi/ginkgo"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
"github.com/securego/gas/testutils"
) )
var _ = Describe("Analyzer", func() { var _ = Describe("Analyzer", func() {

View file

@ -3,10 +3,10 @@ package gas_test
import ( import (
"go/ast" "go/ast"
"github.com/GoASTScanner/gas"
"github.com/GoASTScanner/gas/testutils"
. "github.com/onsi/ginkgo" . "github.com/onsi/ginkgo"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
"github.com/securego/gas"
"github.com/securego/gas/testutils"
) )
var _ = Describe("call list", func() { var _ = Describe("call list", func() {

View file

@ -27,10 +27,10 @@ import (
"sort" "sort"
"strings" "strings"
"github.com/GoASTScanner/gas"
"github.com/GoASTScanner/gas/output"
"github.com/GoASTScanner/gas/rules"
"github.com/kisielk/gotool" "github.com/kisielk/gotool"
"github.com/securego/gas"
"github.com/securego/gas/output"
"github.com/securego/gas/rules"
) )
const ( const (

View file

@ -3,7 +3,7 @@ package main
import ( import (
"sort" "sort"
"github.com/GoASTScanner/gas" "github.com/securego/gas"
) )
type sortBySeverity []*gas.Issue type sortBySeverity []*gas.Issue

View file

@ -8,6 +8,6 @@ package {{.}}
import ( import (
"go/ast" "go/ast"
"github.com/GoASTScanner/gas" "github.com/securego/gas"
) )
`)) `))

View file

@ -3,9 +3,9 @@ package gas_test
import ( import (
"bytes" "bytes"
"github.com/GoASTScanner/gas"
. "github.com/onsi/ginkgo" . "github.com/onsi/ginkgo"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
"github.com/securego/gas"
) )
var _ = Describe("Configuration", func() { var _ = Describe("Configuration", func() {

View file

@ -3,11 +3,11 @@ package gas_test
import ( import (
"go/ast" "go/ast"
"github.com/GoASTScanner/gas"
"github.com/GoASTScanner/gas/rules"
"github.com/GoASTScanner/gas/testutils"
. "github.com/onsi/ginkgo" . "github.com/onsi/ginkgo"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
"github.com/securego/gas"
"github.com/securego/gas/rules"
"github.com/securego/gas/testutils"
) )
var _ = Describe("Issue", func() { var _ = Describe("Issue", func() {

View file

@ -22,7 +22,7 @@ import (
"io" "io"
plainTemplate "text/template" plainTemplate "text/template"
"github.com/GoASTScanner/gas" "github.com/securego/gas"
"gopkg.in/yaml.v2" "gopkg.in/yaml.v2"
) )

View file

@ -5,7 +5,7 @@ import (
htmlLib "html" htmlLib "html"
"strconv" "strconv"
"github.com/GoASTScanner/gas" "github.com/securego/gas"
) )
type junitXMLReport struct { type junitXMLReport struct {

View file

@ -3,10 +3,10 @@ package gas_test
import ( import (
"go/ast" "go/ast"
"github.com/GoASTScanner/gas"
"github.com/GoASTScanner/gas/testutils"
. "github.com/onsi/ginkgo" . "github.com/onsi/ginkgo"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
"github.com/securego/gas"
"github.com/securego/gas/testutils"
) )
var _ = Describe("Resolve ast node to concrete value", func() { var _ = Describe("Resolve ast node to concrete value", func() {

View file

@ -4,9 +4,9 @@ import (
"fmt" "fmt"
"go/ast" "go/ast"
"github.com/GoASTScanner/gas"
. "github.com/onsi/ginkgo" . "github.com/onsi/ginkgo"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
"github.com/securego/gas"
) )
type mockrule struct { type mockrule struct {

View file

@ -4,7 +4,7 @@ import (
"go/ast" "go/ast"
"go/types" "go/types"
"github.com/GoASTScanner/gas" "github.com/securego/gas"
) )
type archive struct { type archive struct {

View file

@ -17,7 +17,7 @@ package rules
import ( import (
"go/ast" "go/ast"
"github.com/GoASTScanner/gas" "github.com/securego/gas"
) )
type usingBigExp struct { type usingBigExp struct {

View file

@ -18,7 +18,7 @@ import (
"go/ast" "go/ast"
"regexp" "regexp"
"github.com/GoASTScanner/gas" "github.com/securego/gas"
) )
// Looks for net.Listen("0.0.0.0") or net.Listen(":8080") // Looks for net.Listen("0.0.0.0") or net.Listen(":8080")

View file

@ -18,7 +18,7 @@ import (
"go/ast" "go/ast"
"strings" "strings"
"github.com/GoASTScanner/gas" "github.com/securego/gas"
) )
type blacklistedImport struct { type blacklistedImport struct {

View file

@ -18,7 +18,7 @@ import (
"go/ast" "go/ast"
"go/types" "go/types"
"github.com/GoASTScanner/gas" "github.com/securego/gas"
) )
type noErrorCheck struct { type noErrorCheck struct {

View file

@ -19,7 +19,7 @@ import (
"go/ast" "go/ast"
"strconv" "strconv"
"github.com/GoASTScanner/gas" "github.com/securego/gas"
) )
type filePermissions struct { type filePermissions struct {

View file

@ -19,8 +19,8 @@ import (
"regexp" "regexp"
"strconv" "strconv"
"github.com/GoASTScanner/gas"
"github.com/nbutton23/zxcvbn-go" "github.com/nbutton23/zxcvbn-go"
"github.com/securego/gas"
) )
type credentials struct { type credentials struct {

View file

@ -17,7 +17,7 @@ package rules
import ( import (
"go/ast" "go/ast"
"github.com/GoASTScanner/gas" "github.com/securego/gas"
) )
type weakRand struct { type weakRand struct {

View file

@ -18,7 +18,7 @@ import (
"go/ast" "go/ast"
"go/types" "go/types"
"github.com/GoASTScanner/gas" "github.com/securego/gas"
) )
type readfile struct { type readfile struct {

View file

@ -18,7 +18,7 @@ import (
"fmt" "fmt"
"go/ast" "go/ast"
"github.com/GoASTScanner/gas" "github.com/securego/gas"
) )
type weakKeyStrength struct { type weakKeyStrength struct {

View file

@ -15,7 +15,7 @@
package rules package rules
import ( import (
"github.com/GoASTScanner/gas" "github.com/securego/gas"
) )
// RuleDefinition contains the description of a rule and a mechanism to // RuleDefinition contains the description of a rule and a mechanism to

View file

@ -4,12 +4,12 @@ import (
"fmt" "fmt"
"log" "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/ginkgo"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
"github.com/securego/gas/rules"
"github.com/securego/gas/testutils"
) )
var _ = Describe("gas rules", func() { var _ = Describe("gas rules", func() {

View file

@ -18,7 +18,7 @@ import (
"go/ast" "go/ast"
"regexp" "regexp"
"github.com/GoASTScanner/gas" "github.com/securego/gas"
) )
type sqlStatement struct { type sqlStatement struct {

View file

@ -3,7 +3,7 @@ package rules
import ( import (
"go/ast" "go/ast"
"github.com/GoASTScanner/gas" "github.com/securego/gas"
) )
type sshHostKey struct { type sshHostKey struct {

View file

@ -18,7 +18,7 @@ import (
"go/ast" "go/ast"
"go/types" "go/types"
"github.com/GoASTScanner/gas" "github.com/securego/gas"
) )
type subprocess struct { type subprocess struct {

View file

@ -18,7 +18,7 @@ import (
"go/ast" "go/ast"
"regexp" "regexp"
"github.com/GoASTScanner/gas" "github.com/securego/gas"
) )
type badTempFile struct { type badTempFile struct {

View file

@ -17,7 +17,7 @@ package rules
import ( import (
"go/ast" "go/ast"
"github.com/GoASTScanner/gas" "github.com/securego/gas"
) )
type templateCheck struct { type templateCheck struct {

View file

@ -20,7 +20,7 @@ import (
"fmt" "fmt"
"go/ast" "go/ast"
"github.com/GoASTScanner/gas" "github.com/securego/gas"
) )
type insecureConfigTLS struct { type insecureConfigTLS struct {

View file

@ -3,7 +3,7 @@ package rules
import ( import (
"go/ast" "go/ast"
"github.com/GoASTScanner/gas" "github.com/securego/gas"
) )
// NewModernTLSCheck creates a check for Modern TLS ciphers // NewModernTLSCheck creates a check for Modern TLS ciphers

View file

@ -17,7 +17,7 @@ package rules
import ( import (
"go/ast" "go/ast"
"github.com/GoASTScanner/gas" "github.com/securego/gas"
) )
type usingUnsafe struct { type usingUnsafe struct {

View file

@ -17,7 +17,7 @@ package rules
import ( import (
"go/ast" "go/ast"
"github.com/GoASTScanner/gas" "github.com/securego/gas"
) )
type usesWeakCryptography struct { type usesWeakCryptography struct {

View file

@ -10,7 +10,7 @@ import (
"path" "path"
"strings" "strings"
"github.com/GoASTScanner/gas" "github.com/securego/gas"
"golang.org/x/tools/go/loader" "golang.org/x/tools/go/loader"
) )

View file

@ -3,7 +3,7 @@ package testutils
import ( import (
"go/ast" "go/ast"
"github.com/GoASTScanner/gas" "github.com/securego/gas"
) )
// MockVisitor is useful for stubbing out ast.Visitor with callback // MockVisitor is useful for stubbing out ast.Visitor with callback