<commit_before>service: webhook-notifications
plugins:
  - serverless-plugin-tracing
custom:
  webhookStage: ${opt:stage, self:provider.stage}
  webhookEnvironment:
    CIS_ENVIRONMENT:
      production: production
      development: development
      testing: testing
    DYNAMODB_TABLE:
      production: production-identity-vault
      development: development-identity-vault
      testing: testing-identity-vault
    IDENTIFIER:
      production: hook.sso.mozilla.com
      development: hook.dev.sso.allizom.org
      testing: hook.test.sso.allizom.org
    CIS_DYNAMODB_ARN:
      production: arn:aws:dynamodb:us-west-2:320464205386:table/production-identity-vault
      development: arn:aws:dynamodb:us-west-2:320464205386:table/development-identity-vault
      testing: arn:aws:dynamodb:us-west-2:320464205386:table/testing-identity-vault
    WEBHOOK_NOTIFICATION_AUTH0_DOMAIN:
      production: auth.mozilla.auth0.com
      development: auth.mozilla.auth0.com
      testing: auth.mozilla.auth0.com
    CIS_DYNAMODB_STREAM_ARN:
      production: arn:aws:dynamodb:us-west-2:320464205386:table/production-identity-vault/stream/2019-03-12T15:52:29.265
      development: arn:aws:dynamodb:us-west-2:320464205386:table/development-identity-vault/stream/2019-03-15T15:35:47.739
      testing: arn:aws:dynamodb:us-west-2:320464205386:table/testing-identity-vault/stream/2019-03-12T15:00:24.551
    CIS_SECRET_MANAGER_SSM_PATH:
      production: /iam/cis/production/webhook_notifier
      development: /iam/cis/development/webhook_notifier
      testing: /iam/cis/testing/webhook_notifier
    CIS_SUBSCRIPTIONS:
      production: https://people.mozilla.org/beta/
      development: https://dinopark.dev.k8s.sso.allizom.org/beta/
      testing: https://dinopark.test.k8s.sso.allizom.org/beta/
    CIS_RP_URLS:
      production: https://people.mozilla.org/events/update,https://discourse-staging.production.paas.mozilla.community/mozilla_iam/notification
      development: https://dinopark.k8s.dev.sso.allizom.org/events/update
      testing: https://dinopark.k8s.test.sso.allizom.org/events/update
provider:
  name: aws
  runtime: python3.6<commit_msg>add webhook to discourse prod<commit_after>service: webhook-notifications
plugins:
  - serverless-plugin-tracing
custom:
  webhookStage: ${opt:stage, self:provider.stage}
  webhookEnvironment:
    CIS_ENVIRONMENT:
      production: production
      development: development
      testing: testing
    DYNAMODB_TABLE:
      production: production-identity-vault
      development: development-identity-vault
      testing: testing-identity-vault
    IDENTIFIER:
      production: hook.sso.mozilla.com
      development: hook.dev.sso.allizom.org
      testing: hook.test.sso.allizom.org
    CIS_DYNAMODB_ARN:
      production: arn:aws:dynamodb:us-west-2:320464205386:table/production-identity-vault
      development: arn:aws:dynamodb:us-west-2:320464205386:table/development-identity-vault
      testing: arn:aws:dynamodb:us-west-2:320464205386:table/testing-identity-vault
    WEBHOOK_NOTIFICATION_AUTH0_DOMAIN:
      production: auth.mozilla.auth0.com
      development: auth.mozilla.auth0.com
      testing: auth.mozilla.auth0.com
    CIS_DYNAMODB_STREAM_ARN:
      production: arn:aws:dynamodb:us-west-2:320464205386:table/production-identity-vault/stream/2019-03-12T15:52:29.265
      development: arn:aws:dynamodb:us-west-2:320464205386:table/development-identity-vault/stream/2019-03-15T15:35:47.739
      testing: arn:aws:dynamodb:us-west-2:320464205386:table/testing-identity-vault/stream/2019-03-12T15:00:24.551
    CIS_SECRET_MANAGER_SSM_PATH:
      production: /iam/cis/production/webhook_notifier
      development: /iam/cis/development/webhook_notifier
      testing: /iam/cis/testing/webhook_notifier
    CIS_SUBSCRIPTIONS:
      production: https://people.mozilla.org/beta/
      development: https://dinopark.dev.k8s.sso.allizom.org/beta/
      testing: https://dinopark.test.k8s.sso.allizom.org/beta/
    CIS_RP_URLS:
      production: https://people.mozilla.org/events/update,https://discourse-staging.production.paas.mozilla.community/mozilla_iam/notification,https://discourse.mozilla.org/mozilla_iam/notification
      development: https://dinopark.k8s.dev.sso.allizom.org/events/update
      testing: https://dinopark.k8s.test.sso.allizom.org/events/update
provider:
  name: aws
  runtime: python3.6
{'fraction_non_alphanumeric': 0.1130176161061542, 'fraction_numerical': 0.06360100663463739, 'mean_word_length': 4.008018327605956, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 15, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2136680', 'n_tokens_mistral': 1746, 'n_tokens_neox': 1536, 'n_words': 157}