capture

Documentation of capture proto files.


ostorlab.agent.message.proto.v3.capture.artifact

Message

FieldTypeLabelDescription
contentbytesoptionalThe content of the artifact.
descriptionstringoptionalA description of the artifact.
typestringoptionalThe type of the artifact.
update_if_existbooloptionalIndicates whether to update the artifact if it exists. Default is false.
ostorlab.agent.message.proto.v3.capture.filesystem

Enum: Event

NameValueDescription
ACCESS1File accessed.
OPEN2File opened.
OPEN_EXEC3File opened for execution.
ATTRIB4File attributes changed.
CREATE5File created.
DELETE6File deleted.
DELETE_SELF7File deleted by itself.
MOVED_FROM8File moved from.
MOVED_TO9File moved to.
MOVE_SELF10File self-moved.
CLOSE_WRITE11File closed for writing.
CLOSE_NOWRITE12File closed for reading.
Q_OVERFLOW13Event queue overflowed.
ACCESS_PERM14Access permissions changed.
OPEN_PERM15Open permissions changed.
OPEN_EXEC_PERM16Execute permissions changed.
CLOSE17File closed.
MOVE18File moved.
ONDIR19Event occurred on directory.

Message

FieldTypeLabelDescription
eventEventoptionalThe type of filesystem event.
filenamestringoptionalThe name of the file associated with event.
pidint32optionalProcess ID associated with the event.
uidint32optionalUser ID associated with the event.
gidint32optionalGroup ID associated with the event.
modeint32optionalFile mode associated with the event.
ppidint32optionalParent Process ID associated with the event.
procstringoptionalThe name of the process associated with the event.
ostorlab.agent.message.proto.v3.capture.http.request

header

FieldTypeLabelDescription
namebytesoptionalThe name of the HTTP header.
valuebytesoptionalThe value of the HTTP header.

Message

FieldTypeLabelDescription
idstringoptionalThe ID of the HTTP request.
methodstringoptionalThe HTTP method (GET, POST, etc.).
headersheaderrepeatedThe headers of the HTTP request.
contentbytesoptionalThe content of the HTTP request.
hoststringoptionalThe host of the HTTP request.
portuint32optionalThe port of the HTTP request.
http_versionbytesoptionalThe version of the HTTP protocol.
schemebytesoptionalThe scheme (http or https) of the request.
pathbytesoptionalThe path of the HTTP request.
time_startfloatoptionalThe start time of the HTTP request.
time_endfloatoptionalThe end time of the HTTP request.
ostorlab.agent.message.proto.v3.capture.http.response

header

FieldTypeLabelDescription
namebytesoptionalThe name of the HTTP header.
valuebytesoptionalThe value of the HTTP header.

Message

FieldTypeLabelDescription
idstringoptionalThe ID of the HTTP response.
status_codeint32optionalThe HTTP status code of the response.
headersheaderrepeatedThe headers of the HTTP response.
contentbytesoptionalThe content of the HTTP response.
http_versionbytesoptionalThe version of the HTTP protocol.
reasonstringoptionalThe reason phrase of the HTTP response.
time_startfloatoptionalThe start time of the HTTP response.
time_endfloatoptionalThe end time of the HTTP response.
ostorlab.agent.message.proto.v3.capture.logs

Message

FieldTypeLabelDescription
timestampfloatoptionalThe timestamp of the log entry.
levelstringoptionalThe log level (e.g., INFO, ERROR).
messagestringoptionalThe message content of the log.
ostorlab.agent.message.proto.v3.capture.request_response

header

FieldTypeLabelDescription
namestringoptionalThe name of the header.
valuestringoptionalThe value of the header.

request

FieldTypeLabelDescription
methodstringoptionalThe HTTP method of the request.
urlstringoptionalThe URL of the request.
headersheaderrepeatedThe headers of the request.
bodybytesoptionalThe body content of the request.

response

FieldTypeLabelDescription
urlstringoptionalThe URL of the response.
statusint32optionalThe status code of the response.
status_textstringoptionalThe status text of the response.
headersheaderrepeatedThe headers of the response.
remote_ipstringoptionalThe remote IP address of the response.
remote_portint32optionalThe remote port of the response.
protocolstringoptionalThe protocol used for the response.
bodybytesoptionalThe body content of the response.

Message

FieldTypeLabelDescription
requestrequestoptionalThe request message.
responseresponseoptionalThe response message.
ostorlab.agent.message.proto.v3.capture.ui_call

Message

FieldTypeLabelDescription
pathstringoptionalThe path of the UI call.
dnastringoptionalThe DNA (Digital Networking Architecture) identifier associated with the UI call.
screenshotbytesoptionalThe screenshot captured during the UI call, encoded as bytes.
parent_dnastringoptionalThe parent DNA identifier, if applicable.