Skip to content

Commit ca30c57

Browse files
Release new resource detail type CodeRepository
1 parent 83529af commit ca30c57

15 files changed

+391
-43
lines changed

generator/ServiceModels/securityhub/securityhub-2018-10-26.api.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8061,6 +8061,14 @@
80618061
"Id":{"shape":"NonEmptyString"}
80628062
}
80638063
},
8064+
"CodeRepositoryDetails":{
8065+
"type":"structure",
8066+
"members":{
8067+
"ProviderType":{"shape":"NonEmptyString"},
8068+
"ProjectName":{"shape":"NonEmptyString"},
8069+
"CodeSecurityIntegrationArn":{"shape":"NonEmptyString"}
8070+
}
8071+
},
80648072
"CodeVulnerabilitiesFilePath":{
80658073
"type":"structure",
80668074
"members":{
@@ -11130,7 +11138,8 @@
1113011138
"AwsRoute53HostedZone":{"shape":"AwsRoute53HostedZoneDetails"},
1113111139
"AwsMskCluster":{"shape":"AwsMskClusterDetails"},
1113211140
"AwsS3AccessPoint":{"shape":"AwsS3AccessPointDetails"},
11133-
"AwsEc2ClientVpnEndpoint":{"shape":"AwsEc2ClientVpnEndpointDetails"}
11141+
"AwsEc2ClientVpnEndpoint":{"shape":"AwsEc2ClientVpnEndpointDetails"},
11142+
"CodeRepository":{"shape":"CodeRepositoryDetails"}
1113411143
}
1113511144
},
1113611145
"ResourceFindingsSummary":{

generator/ServiceModels/securityhub/securityhub-2018-10-26.docs.json

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"GetConnectorV2": "<p>Grants permission to retrieve details for a connectorV2 based on connector id. This API is in preview release and subject to change.</p>",
6565
"GetEnabledStandards": "<p>Returns a list of the standards that are currently enabled.</p>",
6666
"GetFindingAggregator": "<note> <p>The <i>aggregation Region</i> is now called the <i>home Region</i>.</p> </note> <p>Returns the current configuration in the calling account for cross-Region aggregation. A finding aggregator is a resource that establishes the home Region and any linked Regions.</p>",
67-
"GetFindingHistory": "<p> Returns the history of a Security Hub finding for the past 90 days. The history includes changes made to any fields in the Amazon Web Services Security Finding Format (ASFF) except top-level timestamp fields, such as the <code>CreatedAt</code> and <code>UpdatedAt</code> fields. </p> <p>This operation might return fewer results than the maximum number of results (<code>MaxResults</code>) specified in a request, even when more results are available. If this occurs, the response includes a <code>NextToken</code> value, which you should use to retrieve the next set of results in the response. The presence of a <code>NextToken</code> value in a response doesn't necessarily indicate that the results are incomplete. However, you should continue to specify a <code>NextToken</code> value until you receive a response that doesn't include this value.</p>",
67+
"GetFindingHistory": "<p> Returns the history of a Security Hub finding. The history includes changes made to any fields in the Amazon Web Services Security Finding Format (ASFF) except top-level timestamp fields, such as the <code>CreatedAt</code> and <code>UpdatedAt</code> fields. </p> <p>This operation might return fewer results than the maximum number of results (<code>MaxResults</code>) specified in a request, even when more results are available. If this occurs, the response includes a <code>NextToken</code> value, which you should use to retrieve the next set of results in the response. The presence of a <code>NextToken</code> value in a response doesn't necessarily indicate that the results are incomplete. However, you should continue to specify a <code>NextToken</code> value until you receive a response that doesn't include this value.</p>",
6868
"GetFindingStatisticsV2": "<p>Returns aggregated statistical data about findings. <code>GetFindingStatisticsV2</code> use <code>securityhub:GetAdhocInsightResults</code> in the <code>Action</code> element of an IAM policy statement. You must have permission to perform the <code>s</code> action. This API is in private preview and subject to change.</p>",
6969
"GetFindings": "<p>Returns a list of findings that match the specified criteria.</p> <p>If cross-Region aggregation is enabled, then when you call <code>GetFindings</code> from the home Region, the results include all of the matching findings from both the home Region and linked Regions.</p>",
7070
"GetFindingsV2": "<p>Return a list of findings that match the specified criteria. <code>GetFindings</code> and <code>GetFindingsV2</code> both use <code>securityhub:GetFindings</code> in the <code>Action</code> element of an IAM policy statement. You must have permission to perform the <code>securityhub:GetFindings</code> action. This API is in private preview and subject to change.</p>",
@@ -4892,6 +4892,12 @@
48924892
"AwsRoute53QueryLoggingConfigDetails$CloudWatchLogsLogGroupArn": "<p> The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log group that Route 53 is publishing logs to.</p>"
48934893
}
48944894
},
4895+
"CodeRepositoryDetails": {
4896+
"base": "<p> Details about an external code repository with which you can connect your Amazon Web Services resources. The connection is established through Amazon Inspector. </p>",
4897+
"refs": {
4898+
"ResourceDetails$CodeRepository": "<p> Details about an external code repository with which you can connect your Amazon Web Services resources. The connection is established through Amazon Inspector. </p>"
4899+
}
4900+
},
48954901
"CodeVulnerabilitiesFilePath": {
48964902
"base": "<p> Provides details about where a code vulnerability is located in your Lambda function. </p>",
48974903
"refs": {
@@ -8151,6 +8157,9 @@
81518157
"CloudWatchLogsLogGroupArnConfigDetails$CloudWatchLogsLogGroupArn": "<p> The ARN of the CloudWatch Logs log group that Route 53 is publishing logs to.</p>",
81528158
"CloudWatchLogsLogGroupArnConfigDetails$HostedZoneId": "<p> The ID of the hosted zone that CloudWatch Logs is logging queries for. </p>",
81538159
"CloudWatchLogsLogGroupArnConfigDetails$Id": "<p> The ID for a DNS query logging configuration. </p>",
8160+
"CodeRepositoryDetails$ProviderType": "<p> The type of repository provider. </p>",
8161+
"CodeRepositoryDetails$ProjectName": "<p> The name of the project in the code repository. </p>",
8162+
"CodeRepositoryDetails$CodeSecurityIntegrationArn": "<p> The Amazon Resource Name (ARN) of the code security integration associated with the repository. </p>",
81548163
"CodeVulnerabilitiesFilePath$FileName": "<p> The name of the file in which the code vulnerability is located. </p>",
81558164
"CodeVulnerabilitiesFilePath$FilePath": "<p> The file path to the code in which the vulnerability is located. </p>",
81568165
"Compliance$SecurityControlId": "<p> Typically provides the unique identifier of a control across standards. For Security Hub controls, this field consists of an Amazon Web Services service and a unique number, such as <code>APIGateway.5</code>. </p>",
@@ -10355,8 +10364,8 @@
1035510364
"GetConfigurationPolicyResponse$CreatedAt": "<p> The date and time, in UTC and ISO 8601 format, that the configuration policy was created. </p>",
1035610365
"GetConnectorV2Response$CreatedAt": "<p>ISO 8601 UTC timestamp for the time create the connectorV2.</p>",
1035710366
"GetConnectorV2Response$LastUpdatedAt": "<p>ISO 8601 UTC timestamp for the time update the connectorV2 connectorStatus.</p>",
10358-
"GetFindingHistoryRequest$StartTime": "<p>A timestamp that indicates the start time of the requested finding history.</p> <p>If you provide values for both <code>StartTime</code> and <code>EndTime</code>, Security Hub returns finding history for the specified time period. If you provide a value for <code>StartTime</code> but not for <code>EndTime</code>, Security Hub returns finding history from the <code>StartTime</code> to the time at which the API is called. If you provide a value for <code>EndTime</code> but not for <code>StartTime</code>, Security Hub returns finding history from the <a href=\"https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_AwsSecurityFindingFilters.html#securityhub-Type-AwsSecurityFindingFilters-CreatedAt\">CreatedAt</a> timestamp of the finding to the <code>EndTime</code>. If you provide neither <code>StartTime</code> nor <code>EndTime</code>, Security Hub returns finding history from the CreatedAt timestamp of the finding to the time at which the API is called. In all of these scenarios, the response is limited to 100 results, and the maximum time period is limited to 90 days.</p> <p>For more information about the validation and formatting of timestamp fields in Security Hub, see <a href=\"https://docs.aws.amazon.com/securityhub/1.0/APIReference/Welcome.html#timestamps\">Timestamps</a>.</p>",
10359-
"GetFindingHistoryRequest$EndTime": "<p> An ISO 8601-formatted timestamp that indicates the end time of the requested finding history.</p> <p>If you provide values for both <code>StartTime</code> and <code>EndTime</code>, Security Hub returns finding history for the specified time period. If you provide a value for <code>StartTime</code> but not for <code>EndTime</code>, Security Hub returns finding history from the <code>StartTime</code> to the time at which the API is called. If you provide a value for <code>EndTime</code> but not for <code>StartTime</code>, Security Hub returns finding history from the <a href=\"https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_AwsSecurityFindingFilters.html#securityhub-Type-AwsSecurityFindingFilters-CreatedAt\">CreatedAt</a> timestamp of the finding to the <code>EndTime</code>. If you provide neither <code>StartTime</code> nor <code>EndTime</code>, Security Hub returns finding history from the CreatedAt timestamp of the finding to the time at which the API is called. In all of these scenarios, the response is limited to 100 results, and the maximum time period is limited to 90 days.</p> <p>For more information about the validation and formatting of timestamp fields in Security Hub, see <a href=\"https://docs.aws.amazon.com/securityhub/1.0/APIReference/Welcome.html#timestamps\">Timestamps</a>.</p>",
10367+
"GetFindingHistoryRequest$StartTime": "<p>A timestamp that indicates the start time of the requested finding history.</p> <p>If you provide values for both <code>StartTime</code> and <code>EndTime</code>, Security Hub returns finding history for the specified time period. If you provide a value for <code>StartTime</code> but not for <code>EndTime</code>, Security Hub returns finding history from the <code>StartTime</code> to the time at which the API is called. If you provide a value for <code>EndTime</code> but not for <code>StartTime</code>, Security Hub returns finding history from the <a href=\"https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_AwsSecurityFindingFilters.html#securityhub-Type-AwsSecurityFindingFilters-CreatedAt\">CreatedAt</a> timestamp of the finding to the <code>EndTime</code>. If you provide neither <code>StartTime</code> nor <code>EndTime</code>, Security Hub returns finding history from the <code>CreatedAt</code> timestamp of the finding to the time at which the API is called. In all of these scenarios, the response is limited to 100 results.</p> <p>For more information about the validation and formatting of timestamp fields in Security Hub, see <a href=\"https://docs.aws.amazon.com/securityhub/1.0/APIReference/Welcome.html#timestamps\">Timestamps</a>.</p>",
10368+
"GetFindingHistoryRequest$EndTime": "<p> An ISO 8601-formatted timestamp that indicates the end time of the requested finding history.</p> <p>If you provide values for both <code>StartTime</code> and <code>EndTime</code>, Security Hub returns finding history for the specified time period. If you provide a value for <code>StartTime</code> but not for <code>EndTime</code>, Security Hub returns finding history from the <code>StartTime</code> to the time at which the API is called. If you provide a value for <code>EndTime</code> but not for <code>StartTime</code>, Security Hub returns finding history from the <a href=\"https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_AwsSecurityFindingFilters.html#securityhub-Type-AwsSecurityFindingFilters-CreatedAt\">CreatedAt</a> timestamp of the finding to the <code>EndTime</code>. If you provide neither <code>StartTime</code> nor <code>EndTime</code>, Security Hub returns finding history from the <code>CreatedAt</code> timestamp of the finding to the time at which the API is called. In all of these scenarios, the response is limited to 100 results.</p> <p>For more information about the validation and formatting of timestamp fields in Security Hub, see <a href=\"https://docs.aws.amazon.com/securityhub/1.0/APIReference/Welcome.html#timestamps\">Timestamps</a>.</p>",
1036010369
"HealthCheck$LastCheckedAt": "<p>ISO 8601 UTC timestamp for the time check the health status of the connectorV2.</p>",
1036110370
"Invitation$InvitedAt": "<p>The timestamp of when the invitation was sent.</p>",
1036210371
"Member$InvitedAt": "<p>A timestamp for the date and time when the invitation was sent to the member account.</p>",

0 commit comments

Comments
 (0)