יומני הביקורת של Block storage (BLOCK) ב-Google Distributed Cloud (GDC) עם air gap מאפשרים לכם לעקוב אחרי פעולות יצירה, שינוי ומחיקה שאתם מריצים באמצעות ה-CLI, API בארכיטקטורת REST או Simple Network Management Protocol (SNMP). בקשות לקריאה בלבד לא מתועדות ביומן, והקבוצה המלאה של הפעולות שמתועדות ביומן תואמת למאמרי העזרה של ה-CLI ושל ה-API בארכיטקטורת REST. כל רשומה ב-syslog מתעדת את זהות מבצע הקריאה, הפעולה, חותמת הזמן, כתובת ה-IP של המקור וסטטוס התגובה לפעולות בנפח.
| מיקום עומס העבודה |
אחסון בלוקים (block storage) |
| מקור יומן הביקורת |
אחסון בלוקים (block storage) |
| דוגמאות לפעולות מבוקרות |
יצירת נפח אחסון
| שדות ברשומה ביומן שמכילים מידע על הביקורת | ||
|---|---|---|
| מטא-נתונים של ביקורת | שם השדה ביומן הביקורת | ערך |
| זהות המשתמש או השירות | message.user.identity |
לדוגמה,
"message":"{"user":{"identity":"root-admin-client-cert"}} |
|
Target (שדות וערכים ששולחים קריאה ל-API) |
message.action |
לדוגמה,
"message":"{"action":"volume-create"}" |
|
פעולה (שדות שמכילים את הפעולה שבוצעה) |
action
|
לדוגמה,
|
| חותמת הזמן של האירוע |
time
|
לדוגמה,
|
| מקור הפעולה | message.sourceIPs |
לדוגמה, "message":"{"sourceIPs":["10.252.143.2"]}" |
| תוצאה | message.response |
לדוגמה, "message":"{"response":"success"}" |
| שדות אחרים | לא רלוונטי |
לא רלוונטי |
יומן לדוגמה
{
"pri":"14",
"time":"2022-12-07T13:46:49.133781Z",
"host":"storage",
"ident":"storage",
"pid":"-",
"msgid":"-",
"extradata":"-",
"message":"{"time":"2022-12-07T13:40:18Z","auditID":"90199274229","user":{"identity":"root-admin-client-cert"},"resource":"{"Application":"ontapi","Hostname":"zh-ad-stge02-02","StorageVirtualMachine":"root-admin"}","action":"volume-create","sourceIPs":["10.252.143.2"],"response":"success","_gdch_org":"root-admin"}",
"_gdch_cluster":"root-admin",
"_gdch_fluentbit_pod":"anthos-audit-logs-forwarder-vn8f9",
"_gdch_service_name":"admin-audit-logs"
}
הגדרת הגודל של אמצעי אחסון
| שדות ברשומה ביומן שמכילים מידע על הביקורת | ||
|---|---|---|
| מטא-נתונים של ביקורת | שם השדה ביומן הביקורת | ערך |
| זהות המשתמש או השירות | message.user.identity |
לדוגמה,
"message":"{"user":{"identity":"root-admin-client-cert"}} |
|
Target (שדות וערכים ששולחים קריאה ל-API) |
message.action |
לדוגמה,
"message":"{"action":"volume-size"}" |
|
פעולה (שדות שמכילים את הפעולה שבוצעה) |
action
|
לדוגמה,
|
| חותמת הזמן של האירוע |
time
|
לדוגמה,
|
| מקור הפעולה | message.sourceIPs |
לדוגמה, "message":"{"sourceIPs":["10.252.143.2"]}" |
| תוצאה | message.response |
לדוגמה, "message":"{"response":"success"}" |
| שדות אחרים | לא רלוונטי |
לא רלוונטי |
יומן לדוגמה
{
"pri":"14",
"time":"2022-12-07T13:46:49.135968Z",
"host":"storage",
"ident":"storage",
"pid":"-",
"msgid":"-",
"extradata":"-",
"message":"{"time":"2022-12-07T13:46:36Z","auditID":"120264072202","user":{"identity":"root-admin-client-cert"},"resource":"{"Application":"ontapi","Hostname":"zh-ad-stge03-01","StorageVirtualMachine":"root-admin"}","action":"volume-size","sourceIPs":["10.252.143.2"],"response":"success","_gdch_org":"root-admin"}",
"_gdch_cluster":"root-admin",
"_gdch_fluentbit_pod":"anthos-audit-logs-forwarder-vn8f9",
"_gdch_service_name":"admin-audit-logs"
}
מחיקת כרך
| שדות ברשומה ביומן שמכילים מידע על הביקורת | ||
|---|---|---|
| מטא-נתונים של ביקורת | שם השדה ביומן הביקורת | ערך |
| זהות המשתמש או השירות | message.user.identity |
לדוגמה,
"message":"{"user":{"identity":"root-admin-client-cert"}} |
|
Target (שדות וערכים ששולחים קריאה ל-API) |
message.action |
לדוגמה,
"message":"{"action":"volume-destroy"}" |
|
פעולה (שדות שמכילים את הפעולה שבוצעה) |
action
|
לדוגמה,
|
| חותמת הזמן של האירוע |
time
|
לדוגמה,
|
| מקור הפעולה | message.sourceIPs |
לדוגמה, "message":"{"sourceIPs":["10.252.143.2"]}" |
| תוצאה | message.response |
לדוגמה, "message":"{"response":"success"}" |
| שדות אחרים | לא רלוונטי |
לא רלוונטי |
יומן לדוגמה
{
"pri":"14",
"time":"2022-12-07T13:46:49.136236Z",
"host":"storage",
"ident":"storage",
"pid":"-",
"msgid":"-",
"extradata":"-",
"message":"{"time":"2022-12-07T13:46:37Z","auditID":"90203137689","user":{"identity":"root-admin-client-cert"},"resource":"{"Application":"ontapi","Hostname":"zh-ad-stge01-02","StorageVirtualMachine":"root-admin"}","action":"volume-destroy","sourceIPs":["10.252.143.2"],"response":"success","_gdch_org":"root-admin"}",
"_gdch_cluster":"root-admin",
"_gdch_fluentbit_pod":"anthos-audit-logs-forwarder-vn8f9",
"_gdch_service_name":"admin-audit-logs"
}