Skip to content

RuntimeContext

Source code in docs_src/capo_guardduty/types/runtime_context.py
class RuntimeContext(TypedDict, closed=True):
    modifying_process: NotRequired[
        "capo_guardduty.types.process_details.ProcessDetails"
    ]
    """<p>Information about the process that modified the current process. This is available for multiple finding types.</p>"""
    modified_at: NotRequired["capo_guardduty.types.timestamp.Timestamp"]
    """<p>The timestamp at which the process modified the current process. The timestamp is in UTC date string format.</p>"""
    script_path: NotRequired["capo_guardduty.types.string.String"]
    """<p>The path to the script that was executed.</p>"""
    library_path: NotRequired["capo_guardduty.types.string.String"]
    """<p>The path to the new library that was loaded.</p>"""
    ld_preload_value: NotRequired["capo_guardduty.types.string.String"]
    """<p>The value of the LD_PRELOAD environment variable.</p>"""
    socket_path: NotRequired["capo_guardduty.types.string.String"]
    """<p>The path to the docket socket that was accessed.</p>"""
    runc_binary_path: NotRequired["capo_guardduty.types.string.String"]
    """<p>The path to the leveraged <code>runc</code> implementation.</p>"""
    release_agent_path: NotRequired["capo_guardduty.types.string.String"]
    """<p>The path in the container that modified the release agent file.</p>"""
    mount_source: NotRequired["capo_guardduty.types.string.String"]
    """<p>The path on the host that is mounted by the container.</p>"""
    mount_target: NotRequired["capo_guardduty.types.string.String"]
    """<p>The path in the container that is mapped to the host directory.</p>"""
    file_system_type: NotRequired["capo_guardduty.types.string.String"]
    """<p>Represents the type of mounted fileSystem.</p>"""
    flags: NotRequired["capo_guardduty.types.flags_list.FlagsList"]
    """<p>Represents options that control the behavior of a runtime operation or action. For example, a filesystem mount operation may contain a read-only flag.</p>"""
    module_name: NotRequired["capo_guardduty.types.string.String"]
    """<p>The name of the module loaded into the kernel.</p>"""
    module_file_path: NotRequired["capo_guardduty.types.string.String"]
    """<p>The path to the module loaded into the kernel.</p>"""
    module_sha256: NotRequired["capo_guardduty.types.string.String"]
    """<p>The <code>SHA256</code> hash of the module.</p>"""
    shell_history_file_path: NotRequired["capo_guardduty.types.string.String"]
    """<p>The path to the modified shell history file.</p>"""
    target_process: NotRequired["capo_guardduty.types.process_details.ProcessDetails"]
    """<p>Information about the process that had its memory overwritten by the current process.</p>"""
    address_family: NotRequired["capo_guardduty.types.string.String"]
    """<p>Represents the communication protocol associated with the address. For example, the address family <code>AF_INET</code> is used for IP version of 4 protocol.</p>"""
    iana_protocol_number: NotRequired["capo_guardduty.types.integer.Integer"]
    """<p>Specifies a particular protocol within the address family. Usually there is a single protocol in address families. For example, the address family <code>AF_INET</code> only has the IP protocol.</p>"""
    memory_regions: NotRequired[
        "capo_guardduty.types.memory_regions_list.MemoryRegionsList"
    ]
    """<p>Specifies the Region of a process's address space such as stack and heap.</p>"""
    tool_name: NotRequired["capo_guardduty.types.string.String"]
    """<p>Name of the potentially suspicious tool.</p>"""
    tool_category: NotRequired["capo_guardduty.types.string.String"]
    """<p>Category that the tool belongs to. Some of the examples are Backdoor Tool, Pentest Tool, Network Scanner, and Network Sniffer.</p>"""
    service_name: NotRequired["capo_guardduty.types.string.String"]
    """<p>Name of the security service that has been potentially disabled.</p>"""
    command_line_example: NotRequired["capo_guardduty.types.string.String"]
    """<p>Example of the command line involved in the suspicious activity.</p>"""
    threat_file_path: NotRequired["capo_guardduty.types.string.String"]
    """<p>The suspicious file path for which the threat intelligence details were found.</p>"""
    file_operation: NotRequired["capo_guardduty.types.string.String"]
    """<p>Represents the type of file operation that triggered the finding, such as Write, Delete, Rename, Link, or Symlink.</p>"""
    file_path: NotRequired["capo_guardduty.types.string.String"]
    """<p>The path of the sensitive file that was modified. Modification includes write, delete, rename, link, or symlink operations. This field is indexed for filtering.</p>"""
    related_file_paths: NotRequired[
        "capo_guardduty.types.related_file_paths_list.RelatedFilePathsList"
    ]
    """<p>All file paths modified by the same process that triggered the finding, up to a maximum of 25 paths.</p>"""

address_family instance-attribute

address_family: NotRequired[String]

Represents the communication protocol associated with the address. For example, the address family AF_INET is used for IP version of 4 protocol.

command_line_example instance-attribute

command_line_example: NotRequired[String]

Example of the command line involved in the suspicious activity.

file_operation instance-attribute

file_operation: NotRequired[String]

Represents the type of file operation that triggered the finding, such as Write, Delete, Rename, Link, or Symlink.

file_path instance-attribute

file_path: NotRequired[String]

The path of the sensitive file that was modified. Modification includes write, delete, rename, link, or symlink operations. This field is indexed for filtering.

file_system_type instance-attribute

file_system_type: NotRequired[String]

Represents the type of mounted fileSystem.

flags instance-attribute

flags: NotRequired[FlagsList]

Represents options that control the behavior of a runtime operation or action. For example, a filesystem mount operation may contain a read-only flag.

iana_protocol_number instance-attribute

iana_protocol_number: NotRequired[Integer]

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.

ld_preload_value instance-attribute

ld_preload_value: NotRequired[String]

The value of the LD_PRELOAD environment variable.

library_path instance-attribute

library_path: NotRequired[String]

The path to the new library that was loaded.

memory_regions instance-attribute

memory_regions: NotRequired[MemoryRegionsList]

Specifies the Region of a process's address space such as stack and heap.

modified_at instance-attribute

modified_at: NotRequired[Timestamp]

The timestamp at which the process modified the current process. The timestamp is in UTC date string format.

modifying_process instance-attribute

modifying_process: NotRequired[ProcessDetails]

Information about the process that modified the current process. This is available for multiple finding types.

module_file_path instance-attribute

module_file_path: NotRequired[String]

The path to the module loaded into the kernel.

module_name instance-attribute

module_name: NotRequired[String]

The name of the module loaded into the kernel.

module_sha256 instance-attribute

module_sha256: NotRequired[String]

The SHA256 hash of the module.

mount_source instance-attribute

mount_source: NotRequired[String]

The path on the host that is mounted by the container.

mount_target instance-attribute

mount_target: NotRequired[String]

The path in the container that is mapped to the host directory.

related_file_paths instance-attribute

related_file_paths: NotRequired[RelatedFilePathsList]

All file paths modified by the same process that triggered the finding, up to a maximum of 25 paths.

release_agent_path instance-attribute

release_agent_path: NotRequired[String]

The path in the container that modified the release agent file.

runc_binary_path instance-attribute

runc_binary_path: NotRequired[String]

The path to the leveraged runc implementation.

script_path instance-attribute

script_path: NotRequired[String]

The path to the script that was executed.

service_name instance-attribute

service_name: NotRequired[String]

Name of the security service that has been potentially disabled.

shell_history_file_path instance-attribute

shell_history_file_path: NotRequired[String]

The path to the modified shell history file.

socket_path instance-attribute

socket_path: NotRequired[String]

The path to the docket socket that was accessed.

target_process instance-attribute

target_process: NotRequired[ProcessDetails]

Information about the process that had its memory overwritten by the current process.

threat_file_path instance-attribute

threat_file_path: NotRequired[String]

The suspicious file path for which the threat intelligence details were found.

tool_category instance-attribute

tool_category: NotRequired[String]

Category that the tool belongs to. Some of the examples are Backdoor Tool, Pentest Tool, Network Scanner, and Network Sniffer.

tool_name instance-attribute

tool_name: NotRequired[String]

Name of the potentially suspicious tool.