Coder Social home page Coder Social logo

elifraha / security-rbac-tests Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mojaloop/security-rbac-tests

0.0 0.0 0.0 699 KB

A collection of test cases to test Role Based Access Control (RBAC) feature in mojaloop business operations framework

JavaScript 1.76% TypeScript 97.99% Dockerfile 0.24%

security-rbac-tests's Introduction

security-rbac-tests

A collection of test cases to test Role Based Access Control (RBAC) feature in mojaloop

Run tests locally

  1. Connect to any required VPN

  2. Set the relevant kubeconfig. This is only required for the port-forward, not for the tests themselves.

export KUBECONFIG=/path/to/relevant/kube/config.yaml
  1. Port-forward the role assignment service
kubectl port-forward -n mojaloop deploy/bof-role-assignment-service 3008
  1. Change to the test directory
cd tests/rbac
  1. Install dependencies
npm ci
  1. Run tests:
npm t

Config

Configured via shell environment. See config.ts.

security-rbac-tests's People

Contributors

shashi165 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.