Updated imports to new repository location.

This commit is contained in:
Grant Murphy 2016-11-02 16:54:20 -07:00
parent b8ce40e193
commit 74b6633ee0
34 changed files with 37 additions and 38 deletions

View file

@ -12,8 +12,8 @@ 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/HewlettPackard/gas.svg?branch=master)](https://travis-ci.org/HewlettPackard/gas) [![Build Status](https://travis-ci.org/GoASTScanner/gas.svg?branch=master)](https://travis-ci.org/GoASTScanner/gas)
[![GoDoc](https://godoc.org/github.com/HewlettPackard/gas?status.svg)](https://godoc.org/github.com/HewlettPackard/gas) [![GoDoc](https://godoc.org/github.com/GoASTScanner/gas?status.svg)](https://godoc.org/github.com/GoASTScanner/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.

View file

@ -25,8 +25,8 @@ import (
"sort" "sort"
"strings" "strings"
gas "github.com/HewlettPackard/gas/core" gas "github.com/GoASTScanner/gas/core"
"github.com/HewlettPackard/gas/output" "github.com/GoASTScanner/gas/output"
) )
// #nosec flag // #nosec flag

View file

@ -21,7 +21,7 @@ import (
"strconv" "strconv"
"text/template" "text/template"
gas "github.com/HewlettPackard/gas/core" gas "github.com/GoASTScanner/gas/core"
) )
// The output format for reported issues // The output format for reported issues

View file

@ -15,11 +15,10 @@
package main package main
import ( import (
"fmt"
"go/ast" "go/ast"
gas "github.com/HewlettPackard/gas/core" gas "github.com/GoASTScanner/gas/core"
"github.com/HewlettPackard/gas/rules" "github.com/GoASTScanner/gas/rules"
) )
type RuleInfo struct { type RuleInfo struct {

View file

@ -18,7 +18,7 @@ import (
"go/ast" "go/ast"
"regexp" "regexp"
gas "github.com/HewlettPackard/gas/core" gas "github.com/GoASTScanner/gas/core"
) )
// 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

@ -17,7 +17,7 @@ package rules
import ( import (
"testing" "testing"
gas "github.com/HewlettPackard/gas/core" gas "github.com/GoASTScanner/gas/core"
) )
func TestBind0000(t *testing.T) { func TestBind0000(t *testing.T) {

View file

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

View file

@ -19,7 +19,7 @@ import (
"go/types" "go/types"
"reflect" "reflect"
gas "github.com/HewlettPackard/gas/core" gas "github.com/GoASTScanner/gas/core"
) )
type NoErrorCheck struct { type NoErrorCheck struct {

View file

@ -17,7 +17,7 @@ package rules
import ( import (
"testing" "testing"
gas "github.com/HewlettPackard/gas/core" gas "github.com/GoASTScanner/gas/core"
) )
func TestErrorsMulti(t *testing.T) { func TestErrorsMulti(t *testing.T) {

View file

@ -19,7 +19,7 @@ import (
"go/ast" "go/ast"
"regexp" "regexp"
gas "github.com/HewlettPackard/gas/core" gas "github.com/GoASTScanner/gas/core"
) )
type FilePermissions struct { type FilePermissions struct {

View file

@ -17,7 +17,7 @@ package rules
import ( import (
"testing" "testing"
gas "github.com/HewlettPackard/gas/core" gas "github.com/GoASTScanner/gas/core"
) )
func TestChmod(t *testing.T) { func TestChmod(t *testing.T) {

View file

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

View file

@ -17,7 +17,7 @@ package rules
import ( import (
"testing" "testing"
gas "github.com/HewlettPackard/gas/core" gas "github.com/GoASTScanner/gas/core"
) )
func TestHardcoded(t *testing.T) { func TestHardcoded(t *testing.T) {

View file

@ -17,7 +17,7 @@ package rules
import ( import (
"testing" "testing"
gas "github.com/HewlettPackard/gas/core" gas "github.com/GoASTScanner/gas/core"
) )
func TestHttpoxy(t *testing.T) { func TestHttpoxy(t *testing.T) {

View file

@ -17,7 +17,7 @@ package rules
import ( import (
"testing" "testing"
gas "github.com/HewlettPackard/gas/core" gas "github.com/GoASTScanner/gas/core"
) )
func TestNosec(t *testing.T) { func TestNosec(t *testing.T) {

View file

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

View file

@ -17,7 +17,7 @@ package rules
import ( import (
"testing" "testing"
gas "github.com/HewlettPackard/gas/core" gas "github.com/GoASTScanner/gas/core"
) )
func TestRandOk(t *testing.T) { func TestRandOk(t *testing.T) {

View file

@ -19,7 +19,7 @@ import (
"go/ast" "go/ast"
"regexp" "regexp"
gas "github.com/HewlettPackard/gas/core" gas "github.com/GoASTScanner/gas/core"
) )
type WeakKeyStrength struct { type WeakKeyStrength struct {

View file

@ -17,7 +17,7 @@ package rules
import ( import (
"testing" "testing"
gas "github.com/HewlettPackard/gas/core" gas "github.com/GoASTScanner/gas/core"
) )
func TestRSAKeys(t *testing.T) { func TestRSAKeys(t *testing.T) {

View file

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

View file

@ -17,7 +17,7 @@ package rules
import ( import (
"testing" "testing"
gas "github.com/HewlettPackard/gas/core" gas "github.com/GoASTScanner/gas/core"
) )
func TestSQLInjectionViaConcatenation(t *testing.T) { func TestSQLInjectionViaConcatenation(t *testing.T) {

View file

@ -19,7 +19,7 @@ import (
"regexp" "regexp"
"strings" "strings"
gas "github.com/HewlettPackard/gas/core" gas "github.com/GoASTScanner/gas/core"
) )
type Subprocess struct { type Subprocess struct {

View file

@ -17,7 +17,7 @@ package rules
import ( import (
"testing" "testing"
gas "github.com/HewlettPackard/gas/core" gas "github.com/GoASTScanner/gas/core"
) )
func TestSubprocess(t *testing.T) { func TestSubprocess(t *testing.T) {

View file

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

View file

@ -17,7 +17,7 @@ package rules
import ( import (
"testing" "testing"
gas "github.com/HewlettPackard/gas/core" gas "github.com/GoASTScanner/gas/core"
) )
func TestTempfiles(t *testing.T) { func TestTempfiles(t *testing.T) {

View file

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

View file

@ -17,7 +17,7 @@ package rules
import ( import (
"testing" "testing"
gas "github.com/HewlettPackard/gas/core" gas "github.com/GoASTScanner/gas/core"
) )
func TestTemplateCheckSafe(t *testing.T) { func TestTemplateCheckSafe(t *testing.T) {

View file

@ -20,7 +20,7 @@ import (
"reflect" "reflect"
"regexp" "regexp"
gas "github.com/HewlettPackard/gas/core" gas "github.com/GoASTScanner/gas/core"
) )
type InsecureConfigTLS struct { type InsecureConfigTLS struct {

View file

@ -17,7 +17,7 @@ package rules
import ( import (
"testing" "testing"
gas "github.com/HewlettPackard/gas/core" gas "github.com/GoASTScanner/gas/core"
) )
func TestInsecureSkipVerify(t *testing.T) { func TestInsecureSkipVerify(t *testing.T) {

View file

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

View file

@ -17,7 +17,7 @@ package rules
import ( import (
"testing" "testing"
gas "github.com/HewlettPackard/gas/core" gas "github.com/GoASTScanner/gas/core"
) )
func TestUnsafe(t *testing.T) { func TestUnsafe(t *testing.T) {

View file

@ -18,7 +18,7 @@ import (
"strings" "strings"
"testing" "testing"
gas "github.com/HewlettPackard/gas/core" gas "github.com/GoASTScanner/gas/core"
) )
func gasTestRunner(source string, analyzer gas.Analyzer) []gas.Issue { func gasTestRunner(source string, analyzer gas.Analyzer) []gas.Issue {

View file

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

View file

@ -17,7 +17,7 @@ package rules
import ( import (
"testing" "testing"
gas "github.com/HewlettPackard/gas/core" gas "github.com/GoASTScanner/gas/core"
) )
func TestMD5(t *testing.T) { func TestMD5(t *testing.T) {