/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the securityhub-2018-10-26.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.SecurityHub.Model { /// /// Container for the parameters to the BatchImportFindings operation. /// Imports security findings generated by a finding provider into Security Hub. This /// action is requested by the finding provider to import its findings into Security Hub. /// /// /// /// BatchImportFindings must be called by one of the following: /// /// /// /// The maximum allowed size for a finding is 240 Kb. An error is returned for any finding /// larger than 240 Kb. /// /// /// /// After a finding is created, BatchImportFindings cannot be used to update /// the following finding fields and objects, which Security Hub customers use to manage /// their investigation workflow. /// /// /// /// Finding providers also should not use BatchImportFindings to update the /// following attributes. /// /// /// /// Instead, finding providers use FindingProviderFields to provide values /// for these attributes. /// /// public partial class BatchImportFindingsRequest : AmazonSecurityHubRequest { private List _findings = new List(); /// /// Gets and sets the property Findings. /// /// A list of findings to import. To successfully import a finding, it must follow the /// Amazon /// Web Services Security Finding Format. Maximum of 100 findings per request. /// /// [AWSProperty(Required=true, Min=1, Max=100)] public List Findings { get { return this._findings; } set { this._findings = value; } } // Check to see if Findings property is set internal bool IsSetFindings() { return this._findings != null && this._findings.Count > 0; } } }