Skip to content

Commit 4cad430

Browse files
Support for additional levels of cross-account, cross-Region organizational units in Automation. Various documentation updates.
This is a documentation only release to address various tickets. GitLab Enhancements - Add support for Self-Hosted GitLab runners in CodeBuild. Add group webhooks Updates Amazon RDS documentation with configuration information about the BYOL model for RDS for Db2. Support for JSON resource-based policies and block public access The `DescribeImageScanning` API now includes `fixAvailable`, `exploitAvailable`, and `fixedInVersion` fields to provide more detailed information about the availability of fixes, exploits, and fixed versions for identified image vulnerabilities.
1 parent 297d526 commit 4cad430

File tree

96 files changed

+2791
-339
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+2791
-339
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.406
1+
1.11.407

generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/ScopeConfiguration.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,8 @@ namespace Model
4141

4242
///@{
4343
/**
44-
* <p>The name of either the enterprise or organization that will send webhook
45-
* events to CodeBuild, depending on if the webhook is a global or organization
46-
* webhook respectively.</p>
44+
* <p>The name of either the group, enterprise, or organization that will send
45+
* webhook events to CodeBuild, depending on the type of webhook.</p>
4746
*/
4847
inline const Aws::String& GetName() const{ return m_name; }
4948
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
@@ -57,8 +56,9 @@ namespace Model
5756

5857
///@{
5958
/**
60-
* <p>The domain of the GitHub Enterprise organization. Note that this parameter is
61-
* only required if your project's source type is GITHUB_ENTERPRISE</p>
59+
* <p>The domain of the GitHub Enterprise organization or the GitLab Self Managed
60+
* group. Note that this parameter is only required if your project's source type
61+
* is GITHUB_ENTERPRISE or GITLAB_SELF_MANAGED.</p>
6262
*/
6363
inline const Aws::String& GetDomain() const{ return m_domain; }
6464
inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
@@ -72,7 +72,7 @@ namespace Model
7272

7373
///@{
7474
/**
75-
* <p>The type of scope for a GitHub webhook.</p>
75+
* <p>The type of scope for a GitHub or GitLab webhook.</p>
7676
*/
7777
inline const WebhookScopeType& GetScope() const{ return m_scope; }
7878
inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }

generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/WebhookScopeType.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ namespace Model
1717
{
1818
NOT_SET,
1919
GITHUB_ORGANIZATION,
20-
GITHUB_GLOBAL
20+
GITHUB_GLOBAL,
21+
GITLAB_GROUP
2122
};
2223

2324
namespace WebhookScopeTypeMapper

generated/src/aws-cpp-sdk-codebuild/source/model/WebhookScopeType.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ namespace Aws
2222

2323
static const int GITHUB_ORGANIZATION_HASH = HashingUtils::HashString("GITHUB_ORGANIZATION");
2424
static const int GITHUB_GLOBAL_HASH = HashingUtils::HashString("GITHUB_GLOBAL");
25+
static const int GITLAB_GROUP_HASH = HashingUtils::HashString("GITLAB_GROUP");
2526

2627

2728
WebhookScopeType GetWebhookScopeTypeForName(const Aws::String& name)
@@ -35,6 +36,10 @@ namespace Aws
3536
{
3637
return WebhookScopeType::GITHUB_GLOBAL;
3738
}
39+
else if (hashCode == GITLAB_GROUP_HASH)
40+
{
41+
return WebhookScopeType::GITLAB_GROUP;
42+
}
3843
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
3944
if(overflowContainer)
4045
{
@@ -55,6 +60,8 @@ namespace Aws
5560
return "GITHUB_ORGANIZATION";
5661
case WebhookScopeType::GITHUB_GLOBAL:
5762
return "GITHUB_GLOBAL";
63+
case WebhookScopeType::GITLAB_GROUP:
64+
return "GITLAB_GROUP";
5865
default:
5966
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
6067
if(overflowContainer)

generated/src/aws-cpp-sdk-ecr/include/aws/ecr/model/EncryptionConfiguration.h

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,14 @@ namespace Model
5959
* created.</p> <p>If you use the <code>KMS_DSSE</code> encryption type, the
6060
* contents of the repository will be encrypted with two layers of encryption using
6161
* server-side encryption with the KMS Management Service key stored in KMS.
62-
* Similar to the KMS encryption type, you can either use the default Amazon Web
63-
* Services managed KMS key for Amazon ECR, or specify your own KMS key, which
64-
* you've already created. </p> <p>If you use the <code>AES256</code> encryption
65-
* type, Amazon ECR uses server-side encryption with Amazon S3-managed encryption
66-
* keys which encrypts the images in the repository using an AES256 encryption
67-
* algorithm. For more information, see <a
68-
* href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html">Protecting
69-
* data using server-side encryption with Amazon S3-managed encryption keys
70-
* (SSE-S3)</a> in the <i>Amazon Simple Storage Service Console Developer
62+
* Similar to the <code>KMS</code> encryption type, you can either use the default
63+
* Amazon Web Services managed KMS key for Amazon ECR, or specify your own KMS key,
64+
* which you've already created. </p> <p>If you use the <code>AES256</code>
65+
* encryption type, Amazon ECR uses server-side encryption with Amazon S3-managed
66+
* encryption keys which encrypts the images in the repository using an AES256
67+
* encryption algorithm.</p> <p>For more information, see <a
68+
* href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html">Amazon
69+
* ECR encryption at rest</a> in the <i>Amazon Elastic Container Registry User
7170
* Guide</i>.</p>
7271
*/
7372
inline const EncryptionType& GetEncryptionType() const{ return m_encryptionType; }

generated/src/aws-cpp-sdk-ecr/include/aws/ecr/model/EnhancedImageScanFinding.h

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,37 @@ namespace Model
237237
inline EnhancedImageScanFinding& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
238238
inline EnhancedImageScanFinding& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
239239
///@}
240+
241+
///@{
242+
/**
243+
* <p>Details on whether a fix is available through a version update. This value
244+
* can be <code>YES</code>, <code>NO</code>, or <code>PARTIAL</code>. A
245+
* <code>PARTIAL</code> fix means that some, but not all, of the packages
246+
* identified in the finding have fixes available through updated versions.</p>
247+
*/
248+
inline const Aws::String& GetFixAvailable() const{ return m_fixAvailable; }
249+
inline bool FixAvailableHasBeenSet() const { return m_fixAvailableHasBeenSet; }
250+
inline void SetFixAvailable(const Aws::String& value) { m_fixAvailableHasBeenSet = true; m_fixAvailable = value; }
251+
inline void SetFixAvailable(Aws::String&& value) { m_fixAvailableHasBeenSet = true; m_fixAvailable = std::move(value); }
252+
inline void SetFixAvailable(const char* value) { m_fixAvailableHasBeenSet = true; m_fixAvailable.assign(value); }
253+
inline EnhancedImageScanFinding& WithFixAvailable(const Aws::String& value) { SetFixAvailable(value); return *this;}
254+
inline EnhancedImageScanFinding& WithFixAvailable(Aws::String&& value) { SetFixAvailable(std::move(value)); return *this;}
255+
inline EnhancedImageScanFinding& WithFixAvailable(const char* value) { SetFixAvailable(value); return *this;}
256+
///@}
257+
258+
///@{
259+
/**
260+
* <p>If a finding discovered in your environment has an exploit available.</p>
261+
*/
262+
inline const Aws::String& GetExploitAvailable() const{ return m_exploitAvailable; }
263+
inline bool ExploitAvailableHasBeenSet() const { return m_exploitAvailableHasBeenSet; }
264+
inline void SetExploitAvailable(const Aws::String& value) { m_exploitAvailableHasBeenSet = true; m_exploitAvailable = value; }
265+
inline void SetExploitAvailable(Aws::String&& value) { m_exploitAvailableHasBeenSet = true; m_exploitAvailable = std::move(value); }
266+
inline void SetExploitAvailable(const char* value) { m_exploitAvailableHasBeenSet = true; m_exploitAvailable.assign(value); }
267+
inline EnhancedImageScanFinding& WithExploitAvailable(const Aws::String& value) { SetExploitAvailable(value); return *this;}
268+
inline EnhancedImageScanFinding& WithExploitAvailable(Aws::String&& value) { SetExploitAvailable(std::move(value)); return *this;}
269+
inline EnhancedImageScanFinding& WithExploitAvailable(const char* value) { SetExploitAvailable(value); return *this;}
270+
///@}
240271
private:
241272

242273
Aws::String m_awsAccountId;
@@ -283,6 +314,12 @@ namespace Model
283314

284315
Aws::Utils::DateTime m_updatedAt;
285316
bool m_updatedAtHasBeenSet = false;
317+
318+
Aws::String m_fixAvailable;
319+
bool m_fixAvailableHasBeenSet = false;
320+
321+
Aws::String m_exploitAvailable;
322+
bool m_exploitAvailableHasBeenSet = false;
286323
};
287324

288325
} // namespace Model

generated/src/aws-cpp-sdk-ecr/include/aws/ecr/model/VulnerablePackage.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,20 @@ namespace Model
145145
inline VulnerablePackage& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
146146
inline VulnerablePackage& WithVersion(const char* value) { SetVersion(value); return *this;}
147147
///@}
148+
149+
///@{
150+
/**
151+
* <p>The version of the package that contains the vulnerability fix.</p>
152+
*/
153+
inline const Aws::String& GetFixedInVersion() const{ return m_fixedInVersion; }
154+
inline bool FixedInVersionHasBeenSet() const { return m_fixedInVersionHasBeenSet; }
155+
inline void SetFixedInVersion(const Aws::String& value) { m_fixedInVersionHasBeenSet = true; m_fixedInVersion = value; }
156+
inline void SetFixedInVersion(Aws::String&& value) { m_fixedInVersionHasBeenSet = true; m_fixedInVersion = std::move(value); }
157+
inline void SetFixedInVersion(const char* value) { m_fixedInVersionHasBeenSet = true; m_fixedInVersion.assign(value); }
158+
inline VulnerablePackage& WithFixedInVersion(const Aws::String& value) { SetFixedInVersion(value); return *this;}
159+
inline VulnerablePackage& WithFixedInVersion(Aws::String&& value) { SetFixedInVersion(std::move(value)); return *this;}
160+
inline VulnerablePackage& WithFixedInVersion(const char* value) { SetFixedInVersion(value); return *this;}
161+
///@}
148162
private:
149163

150164
Aws::String m_arch;
@@ -170,6 +184,9 @@ namespace Model
170184

171185
Aws::String m_version;
172186
bool m_versionHasBeenSet = false;
187+
188+
Aws::String m_fixedInVersion;
189+
bool m_fixedInVersionHasBeenSet = false;
173190
};
174191

175192
} // namespace Model

generated/src/aws-cpp-sdk-ecr/source/model/EnhancedImageScanFinding.cpp

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ EnhancedImageScanFinding::EnhancedImageScanFinding() :
3434
m_statusHasBeenSet(false),
3535
m_titleHasBeenSet(false),
3636
m_typeHasBeenSet(false),
37-
m_updatedAtHasBeenSet(false)
37+
m_updatedAtHasBeenSet(false),
38+
m_fixAvailableHasBeenSet(false),
39+
m_exploitAvailableHasBeenSet(false)
3840
{
3941
}
4042

@@ -154,6 +156,20 @@ EnhancedImageScanFinding& EnhancedImageScanFinding::operator =(JsonView jsonValu
154156
m_updatedAtHasBeenSet = true;
155157
}
156158

159+
if(jsonValue.ValueExists("fixAvailable"))
160+
{
161+
m_fixAvailable = jsonValue.GetString("fixAvailable");
162+
163+
m_fixAvailableHasBeenSet = true;
164+
}
165+
166+
if(jsonValue.ValueExists("exploitAvailable"))
167+
{
168+
m_exploitAvailable = jsonValue.GetString("exploitAvailable");
169+
170+
m_exploitAvailableHasBeenSet = true;
171+
}
172+
157173
return *this;
158174
}
159175

@@ -253,6 +269,18 @@ JsonValue EnhancedImageScanFinding::Jsonize() const
253269
payload.WithDouble("updatedAt", m_updatedAt.SecondsWithMSPrecision());
254270
}
255271

272+
if(m_fixAvailableHasBeenSet)
273+
{
274+
payload.WithString("fixAvailable", m_fixAvailable);
275+
276+
}
277+
278+
if(m_exploitAvailableHasBeenSet)
279+
{
280+
payload.WithString("exploitAvailable", m_exploitAvailable);
281+
282+
}
283+
256284
return payload;
257285
}
258286

generated/src/aws-cpp-sdk-ecr/source/model/VulnerablePackage.cpp

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ VulnerablePackage::VulnerablePackage() :
2727
m_packageManagerHasBeenSet(false),
2828
m_releaseHasBeenSet(false),
2929
m_sourceLayerHashHasBeenSet(false),
30-
m_versionHasBeenSet(false)
30+
m_versionHasBeenSet(false),
31+
m_fixedInVersionHasBeenSet(false)
3132
{
3233
}
3334

@@ -95,6 +96,13 @@ VulnerablePackage& VulnerablePackage::operator =(JsonView jsonValue)
9596
m_versionHasBeenSet = true;
9697
}
9798

99+
if(jsonValue.ValueExists("fixedInVersion"))
100+
{
101+
m_fixedInVersion = jsonValue.GetString("fixedInVersion");
102+
103+
m_fixedInVersionHasBeenSet = true;
104+
}
105+
98106
return *this;
99107
}
100108

@@ -150,6 +158,12 @@ JsonValue VulnerablePackage::Jsonize() const
150158

151159
}
152160

161+
if(m_fixedInVersionHasBeenSet)
162+
{
163+
payload.WithString("fixedInVersion", m_fixedInVersion);
164+
165+
}
166+
153167
return payload;
154168
}
155169

0 commit comments

Comments
 (0)