Class: Google::Cloud::SecurityCenter::V2::Process
- Inherits:
-
Object
- Object
- Google::Cloud::SecurityCenter::V2::Process
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/securitycenter/v2/process.rb
Overview
Represents an operating system process.
Instance Attribute Summary collapse
-
#args ⇒ ::Array<::String>
Process arguments as JSON encoded strings.
-
#arguments_truncated ⇒ ::Boolean
True if
argsis incomplete. -
#binary ⇒ ::Google::Cloud::SecurityCenter::V2::File
File information for the process executable.
-
#env_variables ⇒ ::Array<::Google::Cloud::SecurityCenter::V2::EnvironmentVariable>
Process environment variables.
-
#env_variables_truncated ⇒ ::Boolean
True if
env_variablesis incomplete. -
#libraries ⇒ ::Array<::Google::Cloud::SecurityCenter::V2::File>
File information for libraries loaded by the process.
-
#name ⇒ ::String
The process name, as displayed in utilities like
topandps. -
#parent_pid ⇒ ::Integer
The parent process ID.
-
#pid ⇒ ::Integer
The process ID.
-
#script ⇒ ::Google::Cloud::SecurityCenter::V2::File
When the process represents the invocation of a script,
binaryprovides information about the interpreter, whilescriptprovides information about the script file provided to the interpreter. -
#user_id ⇒ ::Integer
The ID of the user that executed the process.
Instance Attribute Details
#args ⇒ ::Array<::String>
Returns Process arguments as JSON encoded strings.
63 64 65 66 |
# File 'proto_docs/google/cloud/securitycenter/v2/process.rb', line 63 class Process include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#arguments_truncated ⇒ ::Boolean
Returns True if args is incomplete.
63 64 65 66 |
# File 'proto_docs/google/cloud/securitycenter/v2/process.rb', line 63 class Process include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#binary ⇒ ::Google::Cloud::SecurityCenter::V2::File
Returns File information for the process executable.
63 64 65 66 |
# File 'proto_docs/google/cloud/securitycenter/v2/process.rb', line 63 class Process include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#env_variables ⇒ ::Array<::Google::Cloud::SecurityCenter::V2::EnvironmentVariable>
Returns Process environment variables.
63 64 65 66 |
# File 'proto_docs/google/cloud/securitycenter/v2/process.rb', line 63 class Process include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#env_variables_truncated ⇒ ::Boolean
Returns True if env_variables is incomplete.
63 64 65 66 |
# File 'proto_docs/google/cloud/securitycenter/v2/process.rb', line 63 class Process include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#libraries ⇒ ::Array<::Google::Cloud::SecurityCenter::V2::File>
Returns File information for libraries loaded by the process.
63 64 65 66 |
# File 'proto_docs/google/cloud/securitycenter/v2/process.rb', line 63 class Process include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns The process name, as displayed in utilities like top and ps. This name
can be accessed through /proc/[pid]/comm and changed with
prctl(PR_SET_NAME).
63 64 65 66 |
# File 'proto_docs/google/cloud/securitycenter/v2/process.rb', line 63 class Process include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parent_pid ⇒ ::Integer
Returns The parent process ID.
63 64 65 66 |
# File 'proto_docs/google/cloud/securitycenter/v2/process.rb', line 63 class Process include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#pid ⇒ ::Integer
Returns The process ID.
63 64 65 66 |
# File 'proto_docs/google/cloud/securitycenter/v2/process.rb', line 63 class Process include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#script ⇒ ::Google::Cloud::SecurityCenter::V2::File
Returns When the process represents the invocation of a script, binary provides
information about the interpreter, while script provides information
about the script file provided to the interpreter.
63 64 65 66 |
# File 'proto_docs/google/cloud/securitycenter/v2/process.rb', line 63 class Process include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#user_id ⇒ ::Integer
Returns The ID of the user that executed the process. E.g. If this is the root user this will always be 0.
63 64 65 66 |
# File 'proto_docs/google/cloud/securitycenter/v2/process.rb', line 63 class Process include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |