Skip to content

Instantly share code, notes, and snippets.

View cnuss's full-sized avatar
🥜

Christian Nuss cnuss

🥜
View GitHub Profile
import singer
from singer import metadata, utils
from singer_sdk import Tap, Stream
from singer_sdk.typing import (
PropertiesList, StringType, IntegerType, DateTimeType,
BooleanType, ArrayType, ObjectDict, AnyType
)
# Define the schema for the Wiz Vulnerabilities stream
schema = {
@cnuss
cnuss / saml-to.yml
Created May 4, 2022 15:14
sample saml-to.yml for monad
---
# Config Reference:
# https://docs.saml.to/configuration/reference
version: '20220101'
variables:
awsAccountId: "" # TODO: Fill this in
providers:
aws:
entityId: https://signin.aws.amazon.com/saml
@cnuss
cnuss / saml-to.yml
Last active January 5, 2022 19:54
Rollbar SAML.to
---
version: '20220101'
variables:
rollbarAccount: MyProject
awsAccountId: '01234567890'
providers:
rollbar:
entityId: https://saml.rollbar.com
loginUrl: https://rollbar.com/<$= rollbarAccount $>/saml/sso/other/
acsUrl: https://rollbar.com/<$= rollbarAccount $>/saml/sso/other/
@cnuss
cnuss / saml-to.yml
Created January 2, 2022 12:19
saml.to
---
version: '20220101'
providers:
aws:
entityId: https://us-east-1.signin.aws.amazon.com/platform/saml/d-1234567890
loginUrl: https://d-1234567890.awsapps.com/start
acsUrl: https://us-east-1.signin.aws.amazon.com/platform/saml/acs/00000000-0000-4000-0000-000000000000
permissions:
aws:
users:
the following gist will be how to add frontend deploys to a scaffoldly project
In try02/scaffoldly-bootstrap, edit 3 files:
- bootstrap-aws.tf
- aws-serverless-api-microservice-1-sls-rest-api.tf
- aws-serverless-api-microservice-1-sls-rest-api-github.tf
After pushing to `main` you'll see the `terraform plan` occur.
Review the plan, then publish the newly created release: https://github.com/try02/scaffoldly-bootstrap/releases
bootstrap-aws.tf:
date close
2007-04-23 93.24
2007-04-24 95.35
2007-04-25 98.84
2007-04-26 99.92
2007-04-29 99.8
2007-05-01 99.47
2007-05-02 100.39
2007-05-03 100.4
2007-05-04 100.81