Interface RuntimeContext.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RuntimeContext.Builder,
,RuntimeContext> SdkBuilder<RuntimeContext.Builder,
,RuntimeContext> SdkPojo
- Enclosing class:
RuntimeContext
-
Method Summary
Modifier and TypeMethodDescriptionaddressFamily
(String addressFamily) Represents the communication protocol associated with the address.commandLineExample
(String commandLineExample) Example of the command line involved in the suspicious activity.fileSystemType
(String fileSystemType) Represents the type of mounted fileSystem.Represents options that control the behavior of a runtime operation or action.flags
(Collection<String> flags) Represents options that control the behavior of a runtime operation or action.ianaProtocolNumber
(Integer ianaProtocolNumber) Specifies a particular protocol within the address family.ldPreloadValue
(String ldPreloadValue) The value of the LD_PRELOAD environment variable.libraryPath
(String libraryPath) The path to the new library that was loaded.memoryRegions
(String... memoryRegions) Specifies the Region of a process's address space such as stack and heap.memoryRegions
(Collection<String> memoryRegions) Specifies the Region of a process's address space such as stack and heap.modifiedAt
(Instant modifiedAt) The timestamp at which the process modified the current process.default RuntimeContext.Builder
modifyingProcess
(Consumer<ProcessDetails.Builder> modifyingProcess) Information about the process that modified the current process.modifyingProcess
(ProcessDetails modifyingProcess) Information about the process that modified the current process.moduleFilePath
(String moduleFilePath) The path to the module loaded into the kernel.moduleName
(String moduleName) The name of the module loaded into the kernel.moduleSha256
(String moduleSha256) TheSHA256
hash of the module.mountSource
(String mountSource) The path on the host that is mounted by the container.mountTarget
(String mountTarget) The path in the container that is mapped to the host directory.releaseAgentPath
(String releaseAgentPath) The path in the container that modified the release agent file.runcBinaryPath
(String runcBinaryPath) The path to the leveragedrunc
implementation.scriptPath
(String scriptPath) The path to the script that was executed.serviceName
(String serviceName) Name of the security service that has been potentially disabled.shellHistoryFilePath
(String shellHistoryFilePath) The path to the modified shell history file.socketPath
(String socketPath) The path to the docket socket that was accessed.default RuntimeContext.Builder
targetProcess
(Consumer<ProcessDetails.Builder> targetProcess) Information about the process that had its memory overwritten by the current process.targetProcess
(ProcessDetails targetProcess) Information about the process that had its memory overwritten by the current process.threatFilePath
(String threatFilePath) The suspicious file path for which the threat intelligence details were found.toolCategory
(String toolCategory) Category that the tool belongs to.Name of the potentially suspicious tool.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
modifyingProcess
Information about the process that modified the current process. This is available for multiple finding types.
- Parameters:
modifyingProcess
- Information about the process that modified the current process. This is available for multiple finding types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifyingProcess
Information about the process that modified the current process. This is available for multiple finding types.
This is a convenience method that creates an instance of theProcessDetails.Builder
avoiding the need to create one manually viaProcessDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomodifyingProcess(ProcessDetails)
.- Parameters:
modifyingProcess
- a consumer that will call methods onProcessDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modifiedAt
The timestamp at which the process modified the current process. The timestamp is in UTC date string format.
- Parameters:
modifiedAt
- The timestamp at which the process modified the current process. The timestamp is in UTC date string format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scriptPath
The path to the script that was executed.
- Parameters:
scriptPath
- The path to the script that was executed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
libraryPath
The path to the new library that was loaded.
- Parameters:
libraryPath
- The path to the new library that was loaded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ldPreloadValue
The value of the LD_PRELOAD environment variable.
- Parameters:
ldPreloadValue
- The value of the LD_PRELOAD environment variable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
socketPath
The path to the docket socket that was accessed.
- Parameters:
socketPath
- The path to the docket socket that was accessed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runcBinaryPath
The path to the leveraged
runc
implementation.- Parameters:
runcBinaryPath
- The path to the leveragedrunc
implementation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
releaseAgentPath
The path in the container that modified the release agent file.
- Parameters:
releaseAgentPath
- The path in the container that modified the release agent file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mountSource
The path on the host that is mounted by the container.
- Parameters:
mountSource
- The path on the host that is mounted by the container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mountTarget
The path in the container that is mapped to the host directory.
- Parameters:
mountTarget
- The path in the container that is mapped to the host directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileSystemType
Represents the type of mounted fileSystem.
- Parameters:
fileSystemType
- Represents the type of mounted fileSystem.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flags
Represents options that control the behavior of a runtime operation or action. For example, a filesystem mount operation may contain a read-only flag.
- Parameters:
flags
- Represents options that control the behavior of a runtime operation or action. For example, a filesystem mount operation may contain a read-only flag.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flags
Represents options that control the behavior of a runtime operation or action. For example, a filesystem mount operation may contain a read-only flag.
- Parameters:
flags
- Represents options that control the behavior of a runtime operation or action. For example, a filesystem mount operation may contain a read-only flag.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
moduleName
The name of the module loaded into the kernel.
- Parameters:
moduleName
- The name of the module loaded into the kernel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
moduleFilePath
The path to the module loaded into the kernel.
- Parameters:
moduleFilePath
- The path to the module loaded into the kernel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
moduleSha256
The
SHA256
hash of the module.- Parameters:
moduleSha256
- TheSHA256
hash of the module.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shellHistoryFilePath
The path to the modified shell history file.
- Parameters:
shellHistoryFilePath
- The path to the modified shell history file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetProcess
Information about the process that had its memory overwritten by the current process.
- Parameters:
targetProcess
- Information about the process that had its memory overwritten by the current process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetProcess
Information about the process that had its memory overwritten by the current process.
This is a convenience method that creates an instance of theProcessDetails.Builder
avoiding the need to create one manually viaProcessDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetProcess(ProcessDetails)
.- Parameters:
targetProcess
- a consumer that will call methods onProcessDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
addressFamily
Represents the communication protocol associated with the address. For example, the address family
AF_INET
is used for IP version of 4 protocol.- Parameters:
addressFamily
- Represents the communication protocol associated with the address. For example, the address familyAF_INET
is used for IP version of 4 protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ianaProtocolNumber
Specifies a particular protocol within the address family. Usually there is a single protocol in address families. For example, the address family
AF_INET
only has the IP protocol.- Parameters:
ianaProtocolNumber
- Specifies a particular protocol within the address family. Usually there is a single protocol in address families. For example, the address familyAF_INET
only has the IP protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryRegions
Specifies the Region of a process's address space such as stack and heap.
- Parameters:
memoryRegions
- Specifies the Region of a process's address space such as stack and heap.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryRegions
Specifies the Region of a process's address space such as stack and heap.
- Parameters:
memoryRegions
- Specifies the Region of a process's address space such as stack and heap.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toolName
Name of the potentially suspicious tool.
- Parameters:
toolName
- Name of the potentially suspicious tool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toolCategory
Category that the tool belongs to. Some of the examples are Backdoor Tool, Pentest Tool, Network Scanner, and Network Sniffer.
- Parameters:
toolCategory
- Category that the tool belongs to. Some of the examples are Backdoor Tool, Pentest Tool, Network Scanner, and Network Sniffer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceName
Name of the security service that has been potentially disabled.
- Parameters:
serviceName
- Name of the security service that has been potentially disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commandLineExample
Example of the command line involved in the suspicious activity.
- Parameters:
commandLineExample
- Example of the command line involved in the suspicious activity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threatFilePath
The suspicious file path for which the threat intelligence details were found.
- Parameters:
threatFilePath
- The suspicious file path for which the threat intelligence details were found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-