Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump aws-cloudformation-rpdk-java-plugin version to fix netty-codec vuln #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Opsgenie Cloudformation Integration


The typeConfiguration needs to be set via AWS CLI or AWS Console. You will not able to set credentials in resource models.
The typeConfiguration needs to be set via AWS CLI or AWS Console. You will not able to
set credentials in resource models.

```
aws cloudformation set-type-configuration \
Expand Down Expand Up @@ -47,14 +48,14 @@ https://github.com/aws-cloudformation/cloudformation-cli

- Opsgenie User resource
```shell
wget https://opsgeniedownloads.s3.us-west-2.amazonaws.com/cloudformation/atlassian-opsgenie-user-v2.1.0.zip
wget https://opsgeniedownloads.s3.us-west-2.amazonaws.com/cloudformation/atlassian-opsgenie-user-v2.1.1.zip

aws s3 cp atlassian-opsgenie-user-v2.1.0.zip s3://$BUCKET_NAME
aws s3 cp atlassian-opsgenie-user-v2.1.1.zip s3://$BUCKET_NAME

aws cloudformation register-type \
--region us-west-2 \
--type-name "Atlassian::Opsgenie::User" \
--schema-handler-package "s3://$BUCKET_NAME/atlassian-opsgenie-user-v2.1.0.zip" \
--schema-handler-package "s3://$BUCKET_NAME/atlassian-opsgenie-user-v2.1.1.zip" \
--type RESOURCE > registration_token.json

aws cloudformation describe-type-registration --registration-token $REGISTRATION_TOKEN
Expand All @@ -64,14 +65,14 @@ aws cloudformation set-type-default-version --arn $TYPE_VERSION_ARN

- Opsgenie Team resource
```shell
wget https://opsgeniedownloads.s3.us-west-2.amazonaws.com/cloudformation/atlassian-opsgenie-team-v2.1.0.zip
wget https://opsgeniedownloads.s3.us-west-2.amazonaws.com/cloudformation/atlassian-opsgenie-team-v2.1.1.zip

aws s3 cp atlassian-opsgenie-team-v2.1.0.zip s3://$BUCKET_NAME
aws s3 cp atlassian-opsgenie-team-v2.1.1.zip s3://$BUCKET_NAME

aws cloudformation register-type \
--region us-west-2 \
--type-name "Atlassian::Opsgenie::Team" \
--schema-handler-package "s3://$BUCKET_NAME/atlassian-opsgenie-team-v2.1.0.zip" \
--schema-handler-package "s3://$BUCKET_NAME/atlassian-opsgenie-team-v2.1.1.zip" \
--type RESOURCE > registration_token.json

aws cloudformation describe-type-registration --registration-token $REGISTRATION_TOKEN
Expand All @@ -82,14 +83,14 @@ aws cloudformation set-type-default-version --arn $TYPE_VERSION_ARN

- Opsgenie Integration resource
```shell
wget https://opsgeniedownloads.s3.us-west-2.amazonaws.com/cloudformation/atlassian-opsgenie-integration-v2.1.0.zip
wget https://opsgeniedownloads.s3.us-west-2.amazonaws.com/cloudformation/atlassian-opsgenie-integration-v2.1.1.zip

aws s3 cp atlassian-opsgenie-integration-v2.1.0.zip s3://$BUCKET_NAME
aws s3 cp atlassian-opsgenie-integration-v2.1.1.zip s3://$BUCKET_NAME

aws cloudformation register-type \
--region us-west-2 \
--type-name "Atlassian::Opsgenie::Integration" \
--schema-handler-package "s3://$BUCKET_NAME/atlassian-opsgenie-integration-v2.1.0.zip" \
--schema-handler-package "s3://$BUCKET_NAME/atlassian-opsgenie-integration-v2.1.1.zip" \
--type RESOURCE > registration_token.json

aws cloudformation describe-type-registration --registration-token $REGISTRATION_TOKEN
Expand Down
4 changes: 2 additions & 2 deletions integration_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ Resources:
Properties:
Handler: com.atlassian.opsgenie.integration.HandlerWrapper::handleRequest
Runtime: java11
CodeUri: opsgenie_integration/target/atlassian-opsgenie-integration-handler-2.1.0.jar
CodeUri: opsgenie_integration/target/atlassian-opsgenie-integration-handler-2.1.1.jar
Timeout: 60

TestEntrypoint:
Type: AWS::Serverless::Function
Properties:
Handler: com.atlassian.opsgenie.integration.HandlerWrapper::testEntrypoint
Runtime: java11
CodeUri: opsgenie_integration/target/atlassian-opsgenie-integration-handler-2.1.0.jar
CodeUri: opsgenie_integration/target/atlassian-opsgenie-integration-handler-2.1.1.jar
Timeout: 60
6 changes: 3 additions & 3 deletions opsgenie_integration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
<groupId>com.atlassian.opsgenie.integration</groupId>
<artifactId>atlassian-opsgenie-integration-handler</artifactId>
<name>atlassian-opsgenie-integration-handler</name>
<version>2.1.0</version>
<version>2.1.1</version>
<packaging>jar</packaging>

<parent>
<groupId>com.atlassian.opsgenie</groupId>
<artifactId>opsgenie-cloudformation-resources</artifactId>
<version>2.1.0</version>
<version>2.1.1</version>
</parent>

<properties>
Expand All @@ -34,7 +34,7 @@
<dependency>
<groupId>software.amazon.cloudformation</groupId>
<artifactId>aws-cloudformation-rpdk-java-plugin</artifactId>
<version>2.0.13</version>
<version>2.0.14</version>
</dependency>
</dependencies>
<build>
Expand Down
6 changes: 3 additions & 3 deletions opsgenie_team/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
<parent>
<groupId>com.atlassian.opsgenie</groupId>
<artifactId>opsgenie-cloudformation-resources</artifactId>
<version>2.1.0</version>
<version>2.1.1</version>
</parent>

<groupId>com.atlassian.opsgenie.team</groupId>
<artifactId>atlassian-opsgenie-team-handler</artifactId>
<name>atlassian-opsgenie-team-handler</name>
<version>2.1.0</version>
<version>2.1.1</version>
<packaging>jar</packaging>

<properties>
Expand All @@ -29,7 +29,7 @@
<dependency>
<groupId>software.amazon.cloudformation</groupId>
<artifactId>aws-cloudformation-rpdk-java-plugin</artifactId>
<version>2.0.13</version>
<version>2.0.14</version>
</dependency>
</dependencies>

Expand Down
6 changes: 3 additions & 3 deletions opsgenie_user/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
<parent>
<groupId>com.atlassian.opsgenie</groupId>
<artifactId>opsgenie-cloudformation-resources</artifactId>
<version>2.1.0</version>
<version>2.1.1</version>
</parent>

<groupId>com.atlassian.opsgenie.user</groupId>
<artifactId>atlassian-opsgenie-user-handler</artifactId>
<name>atlassian-opsgenie-user-handler</name>
<version>2.1.0</version>
<version>2.1.1</version>
<packaging>jar</packaging>

<properties>
Expand All @@ -28,7 +28,7 @@
<dependency>
<groupId>software.amazon.cloudformation</groupId>
<artifactId>aws-cloudformation-rpdk-java-plugin</artifactId>
<version>2.0.13</version>
<version>2.0.14</version>
</dependency>
</dependencies>

Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.atlassian.opsgenie</groupId>
<artifactId>opsgenie-cloudformation-resources</artifactId>
<version>2.1.0</version>
<version>2.1.1</version>
<packaging>pom</packaging>

<modules>
Expand All @@ -30,7 +30,7 @@
<dependency>
<groupId>software.amazon.cloudformation</groupId>
<artifactId>aws-cloudformation-rpdk-java-plugin</artifactId>
<version>2.0.13</version>
<version>2.0.14</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
<dependency>
Expand Down
4 changes: 2 additions & 2 deletions team_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ Resources:
Properties:
Handler: com.atlassian.opsgenie.team.HandlerWrapper::handleRequest
Runtime: java11
CodeUri: opsgenie_team/target/atlassian-opsgenie-team-handler-2.1.0.jar
CodeUri: opsgenie_team/target/atlassian-opsgenie-team-handler-2.1.1.jar
Timeout: 60

TestEntrypoint:
Type: AWS::Serverless::Function
Properties:
Handler: com.atlassian.opsgenie.team.HandlerWrapper::testEntrypoint
Runtime: java11
CodeUri: opsgenie_team/target/atlassian-opsgenie-team-handler-2.1.0.jar
CodeUri: opsgenie_team/target/atlassian-opsgenie-team-handler-2.1.1.jar
Timeout: 60
4 changes: 2 additions & 2 deletions user_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ Resources:
Properties:
Handler: com.atlassian.opsgenie.user.HandlerWrapper::handleRequest
Runtime: java11
CodeUri: opsgenie_user/target/atlassian-opsgenie-user-handler-2.1.0.jar
CodeUri: opsgenie_user/target/atlassian-opsgenie-user-handler-2.1.1.jar
Timeout: 60

TestEntrypoint:
Type: AWS::Serverless::Function
Properties:
Handler: com.atlassian.opsgenie.user.HandlerWrapper::testEntrypoint
Runtime: java11
CodeUri: opsgenie_user/target/atlassian-opsgenie-user-handler-2.1.0.jar
CodeUri: opsgenie_user/target/atlassian-opsgenie-user-handler-2.1.1.jar
Timeout: 60