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

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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