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
[![Build Status](https://travis-ci.org/HewlettPackard/gas.svg?branch=master)](https://travis-ci.org/HewlettPackard/gas)
[![GoDoc](https://godoc.org/github.com/HewlettPackard/gas?status.svg)](https://godoc.org/github.com/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/GoASTScanner/gas?status.svg)](https://godoc.org/github.com/GoASTScanner/gas)
Gas is still in alpha and accepting feedback from early adopters. We do
not consider it production ready at this time.

View file

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

View file

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

View file

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

View file

@ -18,7 +18,7 @@ import (
"go/ast"
"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")

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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