GithubHelp home page GithubHelp logo

parseaws's Introduction

Verifying AWS::IAM::Role Policy

This is a recruitment task verifying an input done for Remitly.

Task is written in Typescript because:

  • I feel confident and efficent in it
  • I hope it will stand out from the rest :)

However, if writing function in Go would be additionally appreciated, I can send the task in Go too.


Project includes unit tests (verifyTest.test.ts) and edge cases such as inputting non-compatible policy or multible Resources.

Instruction didn't specify how to resolve a situation with multiple Resources, so I assumed that function should return false if any of the Statements has Resources: "*".

How to run tests?

cd parseAWS
npm i
jest

Main function is in the main.ts file and theoretically can be run by compiling this file and runnig its .js product:

tsc main
node main

It won't return anything though, because there is no executable code, just function and type definitions.

parseaws's People

Watchers

Wiktor Gut 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.