Skip to content

Commit 6ce53c5

Browse files
committed
v1 beta release
1 parent 1e797df commit 6ce53c5

90 files changed

Lines changed: 131 additions & 119 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ Make sure ``CGO_ENABLED=1`` env is set before compiling and all dependencies are
5757
package main
5858
import(
5959
"fmt"
60-
engine"github.com/jptosso/coraza-waf/v1"
61-
"github.com/jptosso/coraza-waf/v1/seclang"
60+
engine"github.com/jptosso/coraza-waf"
61+
"github.com/jptosso/coraza-waf/seclang"
6262
)
6363

6464
func main() {
@@ -89,8 +89,8 @@ Using the standard net/http library:
8989
```go
9090
package main
9191
import(
92-
engine"github.com/jptosso/coraza-waf/v1"
93-
"github.com/jptosso/coraza-waf/v1/seclang"
92+
engine"github.com/jptosso/coraza-waf"
93+
"github.com/jptosso/coraza-waf/seclang"
9494
"net/http"
9595
)
9696

actions/actions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
package actions
1616

1717
import (
18-
engine "github.com/jptosso/coraza-waf/v1"
18+
engine "github.com/jptosso/coraza-waf"
1919
)
2020

2121
func ActionsMap() map[string]engine.Action {

actions/allow.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ package actions
1717
import (
1818
"fmt"
1919

20-
engine "github.com/jptosso/coraza-waf/v1"
20+
engine "github.com/jptosso/coraza-waf"
2121
)
2222

2323
//0 nothing, 1 phase, 2 request

actions/append.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
package actions
1616

17-
import engine "github.com/jptosso/coraza-waf/v1"
17+
import engine "github.com/jptosso/coraza-waf"
1818

1919
type Append struct {
2020
Data string

actions/block.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
package actions
1616

1717
import (
18-
engine "github.com/jptosso/coraza-waf/v1"
18+
engine "github.com/jptosso/coraza-waf"
1919
)
2020

2121
type Block struct{}

actions/capture.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
package actions
1616

17-
import engine "github.com/jptosso/coraza-waf/v1"
17+
import engine "github.com/jptosso/coraza-waf"
1818

1919
type Capture struct{}
2020

actions/chain.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
package actions
1616

17-
import engine "github.com/jptosso/coraza-waf/v1"
17+
import engine "github.com/jptosso/coraza-waf"
1818

1919
type Chain struct{}
2020

actions/ctl.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ import (
1919
"strconv"
2020
"strings"
2121

22-
engine "github.com/jptosso/coraza-waf/v1"
23-
"github.com/jptosso/coraza-waf/v1/utils"
22+
engine "github.com/jptosso/coraza-waf"
23+
"github.com/jptosso/coraza-waf/utils"
2424
)
2525

2626
type Ctl struct {

actions/ctl_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ package actions
1717
import (
1818
"testing"
1919

20-
engine "github.com/jptosso/coraza-waf/v1"
20+
engine "github.com/jptosso/coraza-waf"
2121
)
2222

2323
func TestCtl(t *testing.T) {

actions/deny.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
package actions
1616

1717
import (
18-
engine "github.com/jptosso/coraza-waf/v1"
18+
engine "github.com/jptosso/coraza-waf"
1919
)
2020

2121
type Deny struct{}

0 commit comments

Comments
 (0)