Giter Club home page Giter Club logo

serverless-step-functions's Introduction

(WIP) serverless-step-functions

Contributing, Issues and Support

Contributing

Please feel free to look through our issues, make a fork and submit PRs and improvements. We love hearing from our end-users and the community and will be happy to engage with you on suggestions, updates, fixes or new capabilities.

Issues and Support

Please feel free to contact us by opening an issue on the issue board, or, at [email protected] should you have any suggestions, questions or issues.

NOTICE

© 2022 The MITRE Corporation.

Approved for Public Release; Distribution Unlimited. Case Number 18-3678.

NOTICE

MITRE hereby grants express written permission to use, reproduce, distribute, modify, and otherwise leverage this software to the extent permitted by the licensed terms provided in the LICENSE.md file included with this project.

NOTICE

This software was produced for the U. S. Government under Contract Number HHSM-500-2012-00008I, and is subject to Federal Acquisition Regulation Clause 52.227-14, Rights in Data-General.

No other use other than that granted to the U. S. Government, or to those acting on behalf of the U. S. Government under that Clause is authorized without the express written permission of The MITRE Corporation.

For further information, please contact The MITRE Corporation, Contracts Management Office, 7515 Colshire Drive, McLean, VA 22102-7539, (703) 983-6000.

serverless-step-functions's People

Contributors

em-c-rod avatar karikarshivani avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

serverless-step-functions's Issues

HdfToSplunkViaS3 MVP

Create example step function to be triggered by an hdf file in an s3 bucket and send to splunk.

TODO:

  • Pass S3 contents to stepFunctions
  • Verify the result of stateMachine Execution output
  • Verify results in Splunk
  • Configure command_string from stateMachineTrigger lambda to pass to saf-lambda
  • Lambda input - Pass private command data in as env variables
  • Update the stateMachineTrigger lambda function to process the correct file(s), in other words, investigate event.Records[0]. Test with multiple files in the bucket.
  • Fix SAF Lambda trigger so it is only called once (instead of twice). Test with s3:ObjectCreated:Put.
  • Add more role requirements for use by organizations (add path, and permission boundary).
  • Add documentation for use of this
  • Add updated diagram of the workflow
  • Refer to the specific resources.Resources for IAM permissions and remove Resource: "*" from all statements (example snippet below)
Resource:
  Fn::Join:
    - ''
    - - 'arn:aws:s3:::'
      - Ref: ServerlessDeploymentBucket
      - '/*'

Enhancements:

  • Find a way to add a trigger inside stepFunctions instead of Lambda (CloudWatch)
  • Accept s3 bucket name as an environment variable or generate it if not specified. s3 bucket-name: ${opt:stage}-${self:service}-sample-name (sample-name could be generated blah string)
  • Pass s3 object file contents to saf-lambda instead of s3 bucket name and file name.
  • Consider Secrets Manager for Splunk credentials

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.