Class ListFindingsRequest
- java.lang.Object
- 
- com.oracle.bmc.requests.BmcRequest<Void>
- 
- com.oracle.bmc.datasafe.requests.ListFindingsRequest
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public class ListFindingsRequest extends BmcRequest<Void>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/datasafe/ListFindingsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListFindingsRequest. 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classListFindingsRequest.AccessLevelValid values are RESTRICTED and ACCESSIBLE.static classListFindingsRequest.Builderstatic classListFindingsRequest.ContainsSeverityA filter to return only findings that match the specified risk level(s).static classListFindingsRequest.FieldSpecifies a subset of fields to be returned in the response.static classListFindingsRequest.SeverityA filter to return only findings of a particular risk level.static classListFindingsRequest.SortByThe field to sort by.static classListFindingsRequest.SortOrderThe sort order to use, either ascending (ASC) or descending (DESC).
 - 
Constructor SummaryConstructors Constructor Description ListFindingsRequest()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListFindingsRequest.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.ListFindingsRequest.AccessLevelgetAccessLevel()Valid values are RESTRICTED and ACCESSIBLE.StringgetCategory()The category of the finding.StringgetCompartmentId()A filter to return only resources that match the specified compartment OCID.BooleangetCompartmentIdInSubtree()Default is false.List<SecurityAssessmentReferences>getContainsReferences()An optional filter to return only findings that match the specified references.List<ListFindingsRequest.ContainsSeverity>getContainsSeverity()A filter to return only findings that match the specified risk level(s).List<ListFindingsRequest.Field>getField()Specifies a subset of fields to be returned in the response.StringgetFindingKey()Each finding in security assessment has an associated key (think of key as a finding’s name).BooleangetIsTopFinding()A filter to return only the findings that are marked as top findings.FindingLifecycleStategetLifecycleState()A filter to return only the findings that match the specified lifecycle states.IntegergetLimit()For list pagination.StringgetOpcRequestId()Unique identifier for the request.StringgetPage()For list pagination.SecurityAssessmentReferencesgetReferences()An optional filter to return only findings that match the specified reference.StringgetScimQuery()The scimQuery query parameter accepts filter expressions that use the syntax described in Section 3.2.2.2 of the System for Cross-Domain Identity Management (SCIM) specification, which is available at RFC3339.StringgetSecurityAssessmentId()The OCID of the security assessment.ListFindingsRequest.SeveritygetSeverity()A filter to return only findings of a particular risk level.ListFindingsRequest.SortBygetSortBy()The field to sort by.ListFindingsRequest.SortOrdergetSortOrder()The sort order to use, either ascending (ASC) or descending (DESC).StringgetTargetId()A filter to return only items related to a specific target OCID.List<String>getTargetIds()An optional filter to return only findings that match the specified target ids.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListFindingsRequest.BuildertoBuilder()Return an instance ofListFindingsRequest.Builderthat allows you to modify request properties.StringtoString()- 
Methods inherited from class com.oracle.bmc.requests.BmcRequestgetBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
 
- 
 
- 
- 
- 
Method Detail- 
getSecurityAssessmentIdpublic String getSecurityAssessmentId() The OCID of the security assessment.
 - 
getOpcRequestIdpublic String getOpcRequestId() Unique identifier for the request.
 - 
getIsTopFindingpublic Boolean getIsTopFinding() A filter to return only the findings that are marked as top findings.
 - 
getSeveritypublic ListFindingsRequest.Severity getSeverity() A filter to return only findings of a particular risk level.
 - 
getContainsSeveritypublic List<ListFindingsRequest.ContainsSeverity> getContainsSeverity() A filter to return only findings that match the specified risk level(s).Use containsSeverity parameter if need to filter by multiple risk levels. 
 - 
getCategorypublic String getCategory() The category of the finding.
 - 
getLifecycleStatepublic FindingLifecycleState getLifecycleState() A filter to return only the findings that match the specified lifecycle states.
 - 
getReferencespublic SecurityAssessmentReferences getReferences() An optional filter to return only findings that match the specified reference.
 - 
getContainsReferencespublic List<SecurityAssessmentReferences> getContainsReferences() An optional filter to return only findings that match the specified references.Use containsReferences param if need to filter by multiple references. 
 - 
getLimitpublic Integer getLimit() For list pagination.The maximum number of items to return per page in a paginated “List” call. For details about how pagination works, see List Pagination. 
 - 
getPagepublic String getPage() For list pagination.The page token representing the page at which to start retrieving results. It is usually retrieved from a previous “List” call. For details about how pagination works, see List Pagination. 
 - 
getCompartmentIdpublic String getCompartmentId() A filter to return only resources that match the specified compartment OCID.
 - 
getCompartmentIdInSubtreepublic Boolean getCompartmentIdInSubtree() Default is false.When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the ‘accessLevel’ setting. 
 - 
getAccessLevelpublic ListFindingsRequest.AccessLevel getAccessLevel() Valid values are RESTRICTED and ACCESSIBLE.Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. 
 - 
getTargetIdpublic String getTargetId() A filter to return only items related to a specific target OCID.
 - 
getTargetIdspublic List<String> getTargetIds() An optional filter to return only findings that match the specified target ids.Use this parameter to filter by multiple target ids. 
 - 
getScimQuerypublic String getScimQuery() The scimQuery query parameter accepts filter expressions that use the syntax described in Section 3.2.2.2 of the System for Cross-Domain Identity Management (SCIM) specification, which is available at RFC3339.In SCIM filtering expressions, text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format. (Numeric and boolean values should not be quoted.) *Example:** | scimQuery=(severity eq 'high') and (targetId eq 'target_1') scimQuery=(category eq "Users") and (targetId eq "target_1") scimQuery=(reference eq 'CIS') and (targetId eq 'target_1') Supported fields: severity findingKey reference targetId isTopFinding title category remarks details summary isRiskModified 
 - 
getFieldpublic List<ListFindingsRequest.Field> getField() Specifies a subset of fields to be returned in the response.
 - 
getSortBypublic ListFindingsRequest.SortBy getSortBy() The field to sort by.You can specify only one sort order(sortOrder). The default order for category is alphabetical. 
 - 
getSortOrderpublic ListFindingsRequest.SortOrder getSortOrder() The sort order to use, either ascending (ASC) or descending (DESC).
 - 
getFindingKeypublic String getFindingKey() Each finding in security assessment has an associated key (think of key as a finding’s name).For a given finding, the key will be the same across targets. The user can use these keys to filter the findings. 
 - 
toBuilderpublic ListFindingsRequest.Builder toBuilder() Return an instance ofListFindingsRequest.Builderthat allows you to modify request properties.- Returns:
- instance of ListFindingsRequest.Builderthat allows you to modify request properties.
 
 - 
builderpublic static ListFindingsRequest.Builder builder() Return a new builder for this request object.- Returns:
- builder for the request object
 
 - 
equalspublic boolean equals(Object o) Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
- equalsin class- BmcRequest<Void>
 
 - 
hashCodepublic int hashCode() Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
- hashCodein class- BmcRequest<Void>
 
 
- 
 
-