Skip to content

Commit 6301a58

Browse files
authored
chore: 🚀 to coreruleset organization (#86)
Signed-off-by: Felipe Zipitria <[email protected]>
1 parent 536b896 commit 6301a58

29 files changed

+76
-64
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ repos:
44
hooks:
55
- id: go-fmt
66
- id: go-vet
7-
- id: go-lint
87
- id: go-imports
98
- id: go-cyclo
109
args: [-over=15]

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Go-FTW - Framework for Testing WAFs in Go!
22

33
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)
4-
[![Go Report Card](https://goreportcard.com/badge/github.com/fzipi/go-ftw)](https://goreportcard.com/report/github.com/fzipi/go-ftw)
5-
[![Go Doc](https://img.shields.io/badge/godoc-reference-blue.svg?style=flat-square)](http://godoc.org/github.com/fzipi/go-ftw)
6-
[![PkgGoDev](https://pkg.go.dev/badge/github.com/fzipi/go-ftw)](https://pkg.go.dev/github.com/fzipi/go-ftw)
7-
[![Release](https://img.shields.io/github/v/release/fzipi/go-ftw.svg?style=flat-square)](https://github.com/fzipi/go-ftw/releases/latest)
8-
[![Total alerts](https://img.shields.io/lgtm/alerts/g/fzipi/go-ftw.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/fzipi/go-ftw/alerts/)
9-
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=fzipi_go-ftw&metric=coverage)](https://sonarcloud.io/dashboard?id=fzipi_go-ftw)
10-
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=fzipi_go-ftw&metric=alert_status)](https://sonarcloud.io/dashboard?id=fzipi_go-ftw)
4+
[![Go Report Card](https://goreportcard.com/badge/github.com/coreruleset/go-ftw)](https://goreportcard.com/report/github.com/coreruleset/go-ftw)
5+
[![Go Doc](https://img.shields.io/badge/godoc-reference-blue.svg?style=flat-square)](http://godoc.org/github.com/coreruleset/go-ftw)
6+
[![PkgGoDev](https://pkg.go.dev/badge/github.com/coreruleset/go-ftw)](https://pkg.go.dev/github.com/coreruleset/go-ftw)
7+
[![Release](https://img.shields.io/github/v/release/coreruleset/go-ftw.svg?style=flat-square)](https://github.com/coreruleset/go-ftw/releases/latest)
8+
[![Total alerts](https://img.shields.io/lgtm/alerts/g/coreruleset/go-ftw.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/coreruleset/go-ftw/alerts/)
9+
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=coreruleset_go-ftw&metric=coverage)](https://sonarcloud.io/dashboard?id=coreruleset_go-ftw)
10+
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=coreruleset_go-ftw&metric=alert_status)](https://sonarcloud.io/dashboard?id=coreruleset_go-ftw)
1111

1212

1313
This software should be compatible with the [Python version](https://pypi.org/project/ftw/).
@@ -25,11 +25,11 @@ My goals are:
2525

2626
## Install
2727

28-
Go to the [releases](https://github.com/fzipi/go-ftw/releases) page and get the one that matches your OS.
28+
Go to the [releases](https://github.com/coreruleset/go-ftw/releases) page and get the one that matches your OS.
2929

3030
If you have Go installed and configured to run Go binaries from your shell you can also run
3131
```bash
32-
go install github.com/fzipi/go-ftw@latest
32+
go install github.com/coreruleset/go-ftw@latest
3333
```
3434

3535
## Example Usage
@@ -251,4 +251,4 @@ You can configure the name of the HTTP header by setting the `logmarkerheadernam
251251
option in the configuration to a custom value (the value is case insensitive).
252252

253253
## License
254-
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Ffzipi%2Fgo-ftw.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Ffzipi%2Fgo-ftw?ref=badge_large)
254+
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcoreruleset%2Fgo-ftw.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcoreruleset%2Fgo-ftw?ref=badge_large)

check/base.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package check
22

33
import (
4-
"github.com/fzipi/go-ftw/config"
5-
"github.com/fzipi/go-ftw/test"
6-
"github.com/fzipi/go-ftw/waflog"
4+
"github.com/coreruleset/go-ftw/config"
5+
"github.com/coreruleset/go-ftw/test"
6+
"github.com/coreruleset/go-ftw/waflog"
77
)
88

99
// FTWCheck is the base struct for checking test results

check/base_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"sort"
55
"testing"
66

7-
"github.com/fzipi/go-ftw/config"
8-
"github.com/fzipi/go-ftw/test"
7+
"github.com/coreruleset/go-ftw/config"
8+
"github.com/coreruleset/go-ftw/test"
99
)
1010

1111
var yamlApacheConfig = `---

check/error_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"errors"
55
"testing"
66

7-
"github.com/fzipi/go-ftw/config"
7+
"github.com/coreruleset/go-ftw/config"
88
)
99

1010
var expectedOKTests = []struct {

check/logs_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"os"
55
"testing"
66

7-
"github.com/fzipi/go-ftw/config"
8-
"github.com/fzipi/go-ftw/utils"
7+
"github.com/coreruleset/go-ftw/config"
8+
"github.com/coreruleset/go-ftw/utils"
99
)
1010

1111
var logText = `[Tue Jan 05 02:21:09.637165 2021] [:error] [pid 76:tid 139683434571520] [client 172.23.0.1:58998] [client 172.23.0.1] ModSecurity: Warning. Pattern match "\\\\b(?:keep-alive|close),\\\\s?(?:keep-alive|close)\\\\b" at REQUEST_HEADERS:Connection. [file "/etc/modsecurity.d/owasp-crs/rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf"] [line "339"] [id "920210"] [msg "Multiple/Conflicting Connection Header Data Found"] [data "close,close"] [severity "WARNING"] [ver "OWASP_CRS/3.3.0"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-protocol"] [tag "paranoia-level/1"] [tag "OWASP_CRS"] [tag "capec/1000/210/272"] [hostname "localhost"] [uri "/"] [unique_id "X-PNFSe1VwjCgYRI9FsbHgAAAIY"]

check/response_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package check
33
import (
44
"testing"
55

6-
"github.com/fzipi/go-ftw/config"
6+
"github.com/coreruleset/go-ftw/config"
77
)
88

99
var expectedResponseOKTests = []struct {

check/status_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package check
33
import (
44
"testing"
55

6-
"github.com/fzipi/go-ftw/config"
6+
"github.com/coreruleset/go-ftw/config"
77
)
88

99
var statusOKTests = []struct {

cmd/check.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"github.com/rs/zerolog/log"
99
"github.com/spf13/cobra"
1010

11-
"github.com/fzipi/go-ftw/test"
11+
"github.com/coreruleset/go-ftw/test"
1212
)
1313

1414
// checkCmd represents the check command

cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"github.com/rs/zerolog"
88
"github.com/spf13/cobra"
99

10-
"github.com/fzipi/go-ftw/config"
10+
"github.com/coreruleset/go-ftw/config"
1111
)
1212

1313
var (

0 commit comments

Comments
 (0)