Skip to content

Commit

Permalink
Updated imports to new repository location.
Browse files Browse the repository at this point in the history
  • Loading branch information
gcmurphy committed Nov 2, 2016
1 parent b8ce40e commit 74b6633
Show file tree
Hide file tree
Showing 34 changed files with 37 additions and 38 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion output/formatter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions rulelist.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
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"

gas "github.com/HewlettPackard/gas/core"
gas "github.com/GoASTScanner/gas/core"
)

// Looks for net.Listen("0.0.0.0") or net.Listen(":8080")
Expand Down
2 changes: 1 addition & 1 deletion rules/bind_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion rules/blacklist.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package rules
import (
"go/ast"

gas "github.com/HewlettPackard/gas/core"
gas "github.com/GoASTScanner/gas/core"
)

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

gas "github.com/HewlettPackard/gas/core"
gas "github.com/GoASTScanner/gas/core"
)

type NoErrorCheck struct {
Expand Down
2 changes: 1 addition & 1 deletion rules/errors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
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"
"regexp"

gas "github.com/HewlettPackard/gas/core"
gas "github.com/GoASTScanner/gas/core"
)

type FilePermissions struct {
Expand Down
2 changes: 1 addition & 1 deletion rules/fileperms_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion rules/hardcoded_credentials.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"go/ast"
"regexp"

gas "github.com/HewlettPackard/gas/core"
gas "github.com/GoASTScanner/gas/core"
)

type CredsAssign struct {
Expand Down
2 changes: 1 addition & 1 deletion rules/hardcoded_credentials_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion rules/httpoxy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion rules/nosec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion rules/rand.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"go/ast"
"regexp"

gas "github.com/HewlettPackard/gas/core"
gas "github.com/GoASTScanner/gas/core"
)

type WeakRand struct {
Expand Down
2 changes: 1 addition & 1 deletion rules/rand_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion rules/rsa.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"go/ast"
"regexp"

gas "github.com/HewlettPackard/gas/core"
gas "github.com/GoASTScanner/gas/core"
)

type WeakKeyStrength struct {
Expand Down
2 changes: 1 addition & 1 deletion rules/rsa_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
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"

gas "github.com/HewlettPackard/gas/core"
gas "github.com/GoASTScanner/gas/core"
)

type SqlStatement struct {
Expand Down
2 changes: 1 addition & 1 deletion rules/sql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion rules/subproc.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"regexp"
"strings"

gas "github.com/HewlettPackard/gas/core"
gas "github.com/GoASTScanner/gas/core"
)

type Subprocess struct {
Expand Down
2 changes: 1 addition & 1 deletion rules/subproc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
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"

gas "github.com/HewlettPackard/gas/core"
gas "github.com/GoASTScanner/gas/core"
)

type BadTempFile struct {
Expand Down
2 changes: 1 addition & 1 deletion rules/tempfiles_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion rules/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"go/ast"
"regexp"

gas "github.com/HewlettPackard/gas/core"
gas "github.com/GoASTScanner/gas/core"
)

type TemplateCheck struct {
Expand Down
2 changes: 1 addition & 1 deletion rules/templates_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
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 (
"reflect"
"regexp"

gas "github.com/HewlettPackard/gas/core"
gas "github.com/GoASTScanner/gas/core"
)

type InsecureConfigTLS struct {
Expand Down
2 changes: 1 addition & 1 deletion rules/tls_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion rules/unsafe.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"go/ast"
"regexp"

gas "github.com/HewlettPackard/gas/core"
gas "github.com/GoASTScanner/gas/core"
)

type UsingUnsafe struct {
Expand Down
2 changes: 1 addition & 1 deletion rules/unsafe_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion rules/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion rules/weakcrypto.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"go/ast"
"regexp"

gas "github.com/HewlettPackard/gas/core"
gas "github.com/GoASTScanner/gas/core"
)

type UsesWeakCryptography struct {
Expand Down
2 changes: 1 addition & 1 deletion rules/weakcrypto_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 74b6633

Please sign in to comment.