Error
A valid request URL is required to generate request examples{
"path": "/etc",
"patterns": [
"^PermitRootLogin"
],
"matches": [
{
"path": "/etc/ssh/sshd_config",
"line_number": 57,
"absolute_offset": 1712,
"line_text": "#PermitRootLogin prohibit-password\n",
"line_bytes": 8192,
"submatches": [
{
"text": "PermitRootLogin",
"start": 1,
"end": 16
}
],
"type": "match"
}
],
"truncated": false
}{
"error": "Some error occurred, this is an example of error message",
"status": 500,
"traceback": [
"<string>"
]
}{
"error": "Some error occurred, this is an example of error message",
"status": 500,
"traceback": [
"<string>"
]
}{
"error": "Some error occurred, this is an example of error message",
"status": 500,
"traceback": [
"<string>"
]
}{
"error": "Some error occurred, this is an example of error message",
"status": 500,
"traceback": [
"<string>"
]
}inspect
Search file contents in image
Regex content search inside the image’s root filesystem, powered by ripgrep.
Symlinks are never followed during traversal, hidden files are searched,
.gitignore-style files inside the image are ignored, and binary files
(containing a NUL byte) are skipped. Rust regex syntax, linear-time matching.
Results are a flat, file-ordered list of lines. before/after request extra
type: context lines around each type: match line, mirroring ripgrep’s
—json message type field.
path may be repeated to search multiple roots in one call, the same way
pattern/glob already can; results are concatenated in the given order
and share the max_total budget across all of them.
GET
/
inspect
/
{image_uuid}
/
grep
Error
A valid request URL is required to generate request examples{
"path": "/etc",
"patterns": [
"^PermitRootLogin"
],
"matches": [
{
"path": "/etc/ssh/sshd_config",
"line_number": 57,
"absolute_offset": 1712,
"line_text": "#PermitRootLogin prohibit-password\n",
"line_bytes": 8192,
"submatches": [
{
"text": "PermitRootLogin",
"start": 1,
"end": 16
}
],
"type": "match"
}
],
"truncated": false
}{
"error": "Some error occurred, this is an example of error message",
"status": 500,
"traceback": [
"<string>"
]
}{
"error": "Some error occurred, this is an example of error message",
"status": 500,
"traceback": [
"<string>"
]
}{
"error": "Some error occurred, this is an example of error message",
"status": 500,
"traceback": [
"<string>"
]
}{
"error": "Some error occurred, this is an example of error message",
"status": 500,
"traceback": [
"<string>"
]
}Authorizations
Path Parameters
Query Parameters
Response
OK
Was this page helpful?