public static interface RuntimeContext.Builder extends SdkPojo, CopyableBuilder<RuntimeContext.Builder,RuntimeContext>
| Modifier and Type | Method and Description |
|---|---|
RuntimeContext.Builder |
addressFamily(String addressFamily)
Represents the communication protocol associated with the address.
|
RuntimeContext.Builder |
fileSystemType(String fileSystemType)
Represents the type of mounted fileSystem.
|
RuntimeContext.Builder |
flags(Collection<String> flags)
Represents options that control the behavior of a runtime operation or action.
|
RuntimeContext.Builder |
flags(String... flags)
Represents options that control the behavior of a runtime operation or action.
|
RuntimeContext.Builder |
ianaProtocolNumber(Integer ianaProtocolNumber)
Specifies a particular protocol within the address family.
|
RuntimeContext.Builder |
ldPreloadValue(String ldPreloadValue)
The value of the LD_PRELOAD environment variable.
|
RuntimeContext.Builder |
libraryPath(String libraryPath)
The path to the new library that was loaded.
|
RuntimeContext.Builder |
memoryRegions(Collection<String> memoryRegions)
Specifies the Region of a process's address space such as stack and heap.
|
RuntimeContext.Builder |
memoryRegions(String... memoryRegions)
Specifies the Region of a process's address space such as stack and heap.
|
RuntimeContext.Builder |
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.
|
RuntimeContext.Builder |
modifyingProcess(ProcessDetails modifyingProcess)
Information about the process that modified the current process.
|
RuntimeContext.Builder |
moduleFilePath(String moduleFilePath)
The path to the module loaded into the kernel.
|
RuntimeContext.Builder |
moduleName(String moduleName)
The name of the module loaded into the kernel.
|
RuntimeContext.Builder |
moduleSha256(String moduleSha256)
The
SHA256 hash of the module. |
RuntimeContext.Builder |
mountSource(String mountSource)
The path on the host that is mounted by the container.
|
RuntimeContext.Builder |
mountTarget(String mountTarget)
The path in the container that is mapped to the host directory.
|
RuntimeContext.Builder |
releaseAgentPath(String releaseAgentPath)
The path in the container that modified the release agent file.
|
RuntimeContext.Builder |
runcBinaryPath(String runcBinaryPath)
The path to the leveraged
runc implementation. |
RuntimeContext.Builder |
scriptPath(String scriptPath)
The path to the script that was executed.
|
RuntimeContext.Builder |
shellHistoryFilePath(String shellHistoryFilePath)
The path to the modified shell history file.
|
RuntimeContext.Builder |
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.
|
RuntimeContext.Builder |
targetProcess(ProcessDetails targetProcess)
Information about the process that had its memory overwritten by the current process.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRuntimeContext.Builder modifyingProcess(ProcessDetails modifyingProcess)
Information about the process that modified the current process. This is available for multiple finding types.
modifyingProcess - Information about the process that modified the current process. This is available for multiple
finding types.default RuntimeContext.Builder modifyingProcess(Consumer<ProcessDetails.Builder> 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 via ProcessDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to modifyingProcess(ProcessDetails).
modifyingProcess - a consumer that will call methods on ProcessDetails.BuildermodifyingProcess(ProcessDetails)RuntimeContext.Builder modifiedAt(Instant modifiedAt)
The timestamp at which the process modified the current process. The timestamp is in UTC date string format.
modifiedAt - The timestamp at which the process modified the current process. The timestamp is in UTC date string
format.RuntimeContext.Builder scriptPath(String scriptPath)
The path to the script that was executed.
scriptPath - The path to the script that was executed.RuntimeContext.Builder libraryPath(String libraryPath)
The path to the new library that was loaded.
libraryPath - The path to the new library that was loaded.RuntimeContext.Builder ldPreloadValue(String ldPreloadValue)
The value of the LD_PRELOAD environment variable.
ldPreloadValue - The value of the LD_PRELOAD environment variable.RuntimeContext.Builder socketPath(String socketPath)
The path to the docket socket that was accessed.
socketPath - The path to the docket socket that was accessed.RuntimeContext.Builder runcBinaryPath(String runcBinaryPath)
The path to the leveraged runc implementation.
runcBinaryPath - The path to the leveraged runc implementation.RuntimeContext.Builder releaseAgentPath(String releaseAgentPath)
The path in the container that modified the release agent file.
releaseAgentPath - The path in the container that modified the release agent file.RuntimeContext.Builder mountSource(String mountSource)
The path on the host that is mounted by the container.
mountSource - The path on the host that is mounted by the container.RuntimeContext.Builder mountTarget(String mountTarget)
The path in the container that is mapped to the host directory.
mountTarget - The path in the container that is mapped to the host directory.RuntimeContext.Builder fileSystemType(String fileSystemType)
Represents the type of mounted fileSystem.
fileSystemType - Represents the type of mounted fileSystem.RuntimeContext.Builder flags(Collection<String> 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.
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.RuntimeContext.Builder flags(String... 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.
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.RuntimeContext.Builder moduleName(String moduleName)
The name of the module loaded into the kernel.
moduleName - The name of the module loaded into the kernel.RuntimeContext.Builder moduleFilePath(String moduleFilePath)
The path to the module loaded into the kernel.
moduleFilePath - The path to the module loaded into the kernel.RuntimeContext.Builder moduleSha256(String moduleSha256)
The SHA256 hash of the module.
moduleSha256 - The SHA256 hash of the module.RuntimeContext.Builder shellHistoryFilePath(String shellHistoryFilePath)
The path to the modified shell history file.
shellHistoryFilePath - The path to the modified shell history file.RuntimeContext.Builder targetProcess(ProcessDetails targetProcess)
Information about the process that had its memory overwritten by the current process.
targetProcess - Information about the process that had its memory overwritten by the current process.default RuntimeContext.Builder targetProcess(Consumer<ProcessDetails.Builder> 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 via ProcessDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to targetProcess(ProcessDetails).
targetProcess - a consumer that will call methods on ProcessDetails.BuildertargetProcess(ProcessDetails)RuntimeContext.Builder addressFamily(String addressFamily)
Represents the communication protocol associated with the address. For example, the address family
AF_INET is used for IP version of 4 protocol.
addressFamily - Represents the communication protocol associated with the address. For example, the address family
AF_INET is used for IP version of 4 protocol.RuntimeContext.Builder ianaProtocolNumber(Integer 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.
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.RuntimeContext.Builder memoryRegions(Collection<String> memoryRegions)
Specifies the Region of a process's address space such as stack and heap.
memoryRegions - Specifies the Region of a process's address space such as stack and heap.RuntimeContext.Builder memoryRegions(String... memoryRegions)
Specifies the Region of a process's address space such as stack and heap.
memoryRegions - Specifies the Region of a process's address space such as stack and heap.Copyright © 2023. All rights reserved.