Skip to content

Instantly share code, notes, and snippets.

Importing Existing Kinesis Stream

# Generate the StreamAlert terraform files to static directory
$ python manage.py --build-dir ~/sa_build_dir generate

# Change to directory with terraform files
$ cd ~/sa_build_dir

# Run init
@ryandeivert
ryandeivert / example.md
Last active July 18, 2019 22:12
very contrived example of caching matcher
from datetime import datetime, timedelta

from stream_alert.shared.rule import rule

import boto3
from botocore.exceptions import ClientError


class CachingMatcher(object):

Keybase proof

I hereby claim:

  • I am ryandeivert on github.
  • I am ryandeivert (https://keybase.io/ryandeivert) on keybase.
  • I have a public key ASBbBxwYBEfKR9KNyu-EacsXPfPu4h-r7apaDiqrTxC8PQo

To claim this, I am signing this object: