GithubHelp home page GithubHelp logo

fnifni / manual-changes-detecter-poc Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 599 KB

This code demonstrates the concept of using Config Stream and CloudTrail to derive artificial changes to the AWS environment.

License: MIT License

manual-changes-detecter-poc's Issues

LookupperがCloudTrail Eventsを引当てられない場合、処理がループする

直接の原因

Cloud Trail Eventは、Lookupできるようになるまで数分〜十数分かかる
Lookupできるまでの対応として、LookupできなかったConfig StreamをLookup_SQS.fifoに書き戻している
このため、Config Stream内にconfigurationItemDiffが存在するが、Cloud Trail EventでLookupできないものは、ループする。

デバッグ用情報

"configurationItemCaptureTime": "2019-08-23T03:28:36.426Z",
"resourceType": "AWS::IAM::Policy",

対応方法

検討中

  • 案1:Dead Letter Queueに回して、30分後に再処理をかけて、ダメなら廃棄(または通知)
  • 案2:CloudTrail EventsをLookupする際の時間幅(configurationItemCaptureTime - 300s)を広げる

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.