במאמר הזה מפורטות השיטות שנבדקו ב-reCAPTCHA.שירותי Google Cloud יוצרים יומני ביקורת שבהם מתועדים אירועי גישה למשאבי Google Cloud והפעולות שהאדמינים עשו בהם. אתם יכולים לקרוא מידע נוסף על יומני הביקורת של Cloud במאמרים האלה:
- הסוגים של יומני הביקורת
- המבנה של רשומות ביומני הביקורת
- שמירה וניתוב של יומני ביקורת
- מחירון מקוצר של Cloud Logging
- הפעלת יומני ביקורת של גישה לנתונים
שם השירות
כדי להציג את יומני הביקורת של reCAPTCHA:
נכנסים לדף Logs Explorer במסוף Google Cloud :
מעתיקים את השאילתה הבאה לשדה Query ב-Logs Explorer ולוחצים על Run query.
protoPayload.serviceName="recaptchaenterprise.googleapis.com"
קודי Method לפי סוג ההרשאה
לכל הרשאה ב-IAM יש מאפיין type עם enum שיכול להיות אחד מארבעת הערכים הבאים: ADMIN_READ, ADMIN_WRITE, DATA_READ או DATA_WRITE. כשקוראים ל-method, ב-reCAPTCHA נוצר יומן ביקורת שהקטגוריה שלו תלויה במאפיין type של ההרשאה שנדרשת לביצוע ה-method.
ה-methods שבשבילן צריך הרשאה ב-IAM עם הערכים DATA_READ, DATA_WRITE או ADMIN_READ במאפיין type יוצרות יומני ביקורת של Data Access.
ה-methods שבשבילן צריך הרשאה ב-IAM עם הערכים ADMIN_WRITE במאפיין type יוצרות יומני ביקורת של Admin Activity.
| סוג ההרשאה | Methods |
|---|---|
ADMIN_READ |
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetFirewallPolicygoogle.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetKeygoogle.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetMetricsgoogle.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListFirewallPoliciesgoogle.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListIpOverridesgoogle.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListKeysgoogle.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.RetrieveLegacySecretKeygoogle.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.SearchRelatedAccountGroupMemberships |
ADMIN_WRITE |
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.AddIpOverridegoogle.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateFirewallPolicygoogle.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateKeygoogle.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.DeleteFirewallPolicygoogle.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.DeleteKeygoogle.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.MigrateKeygoogle.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.RemoveIpOverridegoogle.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ReorderFirewallPoliciesgoogle.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.UpdateFirewallPolicygoogle.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.UpdateKey |
DATA_WRITE |
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateAssessment |
יומני ביקורת של ממשק ה-API
במאמר בנושא ניהול הזהויות והרשאות הגישה (IAM) ל-reCAPTCHA מוסבר איך מתבצעת הבדיקה של ההרשאות לכל method ואילו הרשאות נבדקות.
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService
יומני הביקורת הבאים משויכים ל-methods ששייכות ל-google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.
AddIpOverride
- Method:
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.AddIpOverride - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
recaptchaenterprise.keys.update - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.AddIpOverride"
AnnotateAssessment
- Method:
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.AnnotateAssessment - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
recaptchaenterprise.assessments.annotate - DATA_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.AnnotateAssessment"
CreateAssessment
- Method:
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateAssessment - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
recaptchaenterprise.assessments.create - DATA_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateAssessment"
CreateFirewallPolicy
- Method:
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateFirewallPolicy - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
recaptchaenterprise.firewallpolicies.create - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateFirewallPolicy"
CreateKey
- Method:
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateKey - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
recaptchaenterprise.keys.create - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateKey"
DeleteFirewallPolicy
- Method:
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.DeleteFirewallPolicy - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
recaptchaenterprise.firewallpolicies.delete - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.DeleteFirewallPolicy"
DeleteKey
- Method:
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.DeleteKey - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
recaptchaenterprise.keys.delete - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.DeleteKey"
GetFirewallPolicy
- Method:
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetFirewallPolicy - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
recaptchaenterprise.firewallpolicies.get - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetFirewallPolicy"
GetKey
- Method:
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetKey - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
recaptchaenterprise.keys.get - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetKey"
GetMetrics
- Method:
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetMetrics - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
recaptchaenterprise.metrics.get - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetMetrics"
ListFirewallPolicies
- Method:
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListFirewallPolicies - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
recaptchaenterprise.firewallpolicies.list - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListFirewallPolicies"
ListIpOverrides
- Method:
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListIpOverrides - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
recaptchaenterprise.keys.get - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListIpOverrides"
ListKeys
- Method:
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListKeys - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
recaptchaenterprise.keys.list - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListKeys"
ListRelatedAccountGroupMemberships
- Method:
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListRelatedAccountGroupMemberships - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListRelatedAccountGroupMemberships"
ListRelatedAccountGroups
- Method:
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListRelatedAccountGroups - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListRelatedAccountGroups"
MigrateKey
- Method:
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.MigrateKey - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
recaptchaenterprise.keys.update - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.MigrateKey"
RemoveIpOverride
- Method:
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.RemoveIpOverride - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
recaptchaenterprise.keys.update - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.RemoveIpOverride"
ReorderFirewallPolicies
- Method:
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ReorderFirewallPolicies - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
recaptchaenterprise.firewallpolicies.update - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ReorderFirewallPolicies"
RetrieveLegacySecretKey
- Method:
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.RetrieveLegacySecretKey - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
recaptchaenterprise.keys.retrievelegacysecretkey - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.RetrieveLegacySecretKey"
SearchRelatedAccountGroupMemberships
- Method:
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.SearchRelatedAccountGroupMemberships - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
recaptchaenterprise.relatedaccountgroupmemberships.list - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.SearchRelatedAccountGroupMemberships"
UpdateFirewallPolicy
- Method:
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.UpdateFirewallPolicy - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
recaptchaenterprise.firewallpolicies.update - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.UpdateFirewallPolicy"
UpdateKey
- Method:
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.UpdateKey - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
recaptchaenterprise.keys.update - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.UpdateKey"
google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1
יומני הביקורת הבאים משויכים ל-methods ששייכות ל-google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.
CreateAssessment
- Method:
google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.CreateAssessment - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
recaptchaenterprise.assessments.create - PERMISSION_TYPE_UNSPECIFIED
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.CreateAssessment"
אילו methods לא יוצרות יומני ביקורת
יכולות להיות כמה סיבות שב-method מסוימת לא נוצרים יומני ביקורת:
- מדובר ב-method שיש בה נפח גבוה של יומנים, שיצירה שלהם עלולה לגרור עלויות גבוהות של אחסון ויצירה.
- הערך של הביקורת נמוך.
- כבר יש יומן ביקורת או יומן פלטפורמה אחרים שמכסים את ה-method.
ה-methods הבאות לא יוצרות יומני ביקורת:
google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.AnnotateAssessment