build(deps): bump github.com/sirupsen/logrus from 1.8.1 to 1.8.3

Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) from 1.8.1 to 1.8.3.
- [Release notes](https://github.com/sirupsen/logrus/releases)
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sirupsen/logrus/compare/v1.8.1...v1.8.3)

---
updated-dependencies:
- dependency-name: github.com/sirupsen/logrus
  dependency-version: 1.8.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2 files changed
tree: 1c76630bd53d596ee4313cabd1ab746810fcbf98
  1. examples/
  2. .gitignore
  3. go.mod
  4. go.sum
  5. LICENSE
  6. plugin.go
  7. README.md
README.md

tyk-authz

Casbin authorization plugin for Tyk.

Installation

Compile it:

docker run --rm -v `pwd`:/plugin-source tykio/tyk-plugin-compiler:v3.2.3 plugin.so

Copy the example Tyk Gateway api definition examples\casbin-authz-api-example.json (as well as the model&policy configfile) and the compiled plugin.so to the Tyk plugins directory.

Modify the path in the casbin-authz-api-example.json to point to the compiled plugin.so file & config files.

Start the Tyk Gateway and test the plugin.

curl http://localhost:8080/test/get -i  # it will receive a 401
curl -H "username:alice" http://localhost:8080/test/get -i -v  # it will receive a 200