Class S3Analysis
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<S3Analysis.Builder,S3Analysis>
Contains an analysis of Amazon S3 activity or exposure. The members that can be set depend on
AnalysisType: S3_EXPOSURE (FindingSubtype, EffectivePermission,
BlockPublicAccessSettings, and Exposure), S3_ACTOR_CONTEXT (
UserAgent, UserAgentClassification, SourceIp, IpReputation, and
ActorAssessment), and S3_PEN_TEST (UserAgent, S3ApiActivity,
SourceContext, and AuthorizationAssessment).
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringAn assessment of the identity that performed the activity.final StringAn assessment of whether the activity was authorized.final StringA description of the Amazon S3 Block Public Access settings.static S3Analysis.Builderbuilder()final StringThe effective permission of the Amazon S3 resource.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final Stringexposure()An assessment of the exposure of the Amazon S3 resource.final StringThe subtype of the finding.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe reputation of the source IP address.final StringA description of the Amazon S3 API activity.static Class<? extends S3Analysis.Builder> final StringContext about the source of the activity.final StringsourceIp()The source address of the activity, or a description of the source.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final StringThe user agent of the caller.final StringThe classification of the user agent.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
findingSubtype
The subtype of the finding.
- Returns:
- The subtype of the finding.
-
effectivePermission
The effective permission of the Amazon S3 resource.
- Returns:
- The effective permission of the Amazon S3 resource.
-
blockPublicAccessSettings
A description of the Amazon S3 Block Public Access settings.
- Returns:
- A description of the Amazon S3 Block Public Access settings.
-
exposure
An assessment of the exposure of the Amazon S3 resource.
- Returns:
- An assessment of the exposure of the Amazon S3 resource.
-
userAgent
The user agent of the caller.
- Returns:
- The user agent of the caller.
-
userAgentClassification
The classification of the user agent.
- Returns:
- The classification of the user agent.
-
sourceIp
The source address of the activity, or a description of the source.
- Returns:
- The source address of the activity, or a description of the source.
-
ipReputation
The reputation of the source IP address.
- Returns:
- The reputation of the source IP address.
-
actorAssessment
An assessment of the identity that performed the activity.
- Returns:
- An assessment of the identity that performed the activity.
-
s3ApiActivity
A description of the Amazon S3 API activity.
- Returns:
- A description of the Amazon S3 API activity.
-
sourceContext
Context about the source of the activity.
- Returns:
- Context about the source of the activity.
-
authorizationAssessment
An assessment of whether the activity was authorized.
- Returns:
- An assessment of whether the activity was authorized.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<S3Analysis.Builder,S3Analysis> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-