Skip to content

Commit

Permalink
feat: security hub types
Browse files Browse the repository at this point in the history
  • Loading branch information
OlafConijn committed Dec 10, 2022
1 parent b2c7769 commit cec8fd2
Show file tree
Hide file tree
Showing 107 changed files with 12,471 additions and 156 deletions.
79 changes: 0 additions & 79 deletions .github/workflows/cicd.yml

This file was deleted.

9 changes: 8 additions & 1 deletion cloud-formation/delay/resource-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,14 @@ Resources:
Principal:
Service: resources.cloudformation.amazonaws.com
Action: sts:AssumeRole
Path: "/"
Condition:
StringEquals:
aws:SourceAccount:
Ref: AWS::AccountId
StringLike:
aws:SourceArn:
Fn::Sub: arn:${AWS::Partition}:cloudformation:${AWS::Region}:${AWS::AccountId}:type/resource/Community-CloudFormation-Delay/*
Path: "/community-types/"
Policies:
- PolicyName: ResourceTypePolicy
PolicyDocument:
Expand Down
7 changes: 7 additions & 0 deletions cloud-formation/delay/src/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,10 @@ export class ResourceModel extends BaseModel {
}
}

export class TypeConfigurationModel extends BaseModel {
['constructor']: typeof TypeConfigurationModel;



}

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"typeName": "Community::IAM::OpenIDConnectProvider",
"description": "An example resource schema demonstrating some basic constructs and validation rules.",
"sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
"sourceUrl": "https://github.com/org-formation/aws-resource-providers.git",
"definitions": {
},
"properties": {
Expand Down
10 changes: 10 additions & 0 deletions iam/oidc-providers/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/* eslint-disable @typescript-eslint/no-var-requires */
/* eslint-disable @typescript-eslint/no-require-imports */
const base = require('../../jest.config.base.js');
const package = require('./package');

module.exports = {
...base,
displayName: package.name,
name: package.name,
};
181 changes: 128 additions & 53 deletions iam/oidc-providers/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit cec8fd2

Please sign in to comment.