רישום ביומן ביקורת של Certificate Authority Service
יומני הביקורת של Cloud בשירות Certificate Authority Service מאפשרים לעקוב אחרי פעולות ניהול וגישה לנתונים במשאבים, כדי לעזור לכם לעקוב אחרי שינויים בגישה ובהגדרות. אתם יכולים לשלוח שאילתות ליומנים האלה ב-Logs Explorer ולבדוק אילו שיטות של Certificate Authority Service API יוצרות יומני ביקורת של Cloud.
במאמרים הבאים אפשר לקרוא מידע נוסף על יומני הביקורת של Cloud:
- הסוגים של יומני הביקורת
- המבנה של רשומות ביומני הביקורת
- שמירה וניתוב של יומני ביקורת
- מחירון מקוצר של Cloud Logging
- הפעלת יומני ביקורת של גישה לנתונים
שם השירות
כדי להציג את יומני הביקורת של Certificate Authority Service:
במסוף Google Cloud , נכנסים לדף Logs Explorer:
מעתיקים את השאילתה הבאה ומדביקים אותה בשדה Query של Logs Explorer, ואז לוחצים על Run query.
protoPayload.serviceName="privateca.googleapis.com"
קודי Method לפי סוג ההרשאה
לכל הרשאה ב-IAM יש מאפיין type עם enum שיכול להיות אחד מארבעת הערכים הבאים: ADMIN_READ, ADMIN_WRITE, DATA_READ או DATA_WRITE. כשקוראים ל-method, נוצר יומן ביקורת של Certificate Authority Service שהקטגוריה שלו תלויה במאפיין 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.security.privateca.v1.CertificateAuthorityService.FetchCaCertsgoogle.cloud.security.privateca.v1.CertificateAuthorityService.FetchCertificateAuthorityCsrgoogle.cloud.security.privateca.v1.CertificateAuthorityService.GetCaPoolgoogle.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateAuthoritygoogle.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateTemplategoogle.cloud.security.privateca.v1.CertificateAuthorityService.ListCaPoolsgoogle.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateAuthoritiesgoogle.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateTemplatesGetIamPolicygoogle.longrunning.Operations.GetOperationgoogle.longrunning.Operations.ListOperations |
ADMIN_WRITE |
google.cloud.security.privateca.v1.CertificateAuthorityService.ActivateCertificateAuthority (LRO)google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCaPool (LRO)google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificateAuthority (LRO)google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificateTemplate (LRO)google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCaPool (LRO)google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCertificateAuthority (LRO)google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCertificateTemplate (LRO)google.cloud.security.privateca.v1.CertificateAuthorityService.DisableCertificateAuthority (LRO)google.cloud.security.privateca.v1.CertificateAuthorityService.EnableCertificateAuthority (LRO)google.cloud.security.privateca.v1.CertificateAuthorityService.UndeleteCertificateAuthority (LRO)google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCaPool (LRO)google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateAuthority (LRO)google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateTemplate (LRO)SetIamPolicygoogle.longrunning.Operations.CancelOperationgoogle.longrunning.Operations.DeleteOperation |
DATA_READ |
google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificategoogle.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateRevocationListgoogle.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateRevocationListsgoogle.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificates |
DATA_WRITE |
google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificategoogle.cloud.security.privateca.v1.CertificateAuthorityService.RevokeCertificategoogle.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificategoogle.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateRevocationList (LRO) |
יומני ביקורת של ממשק ה-API
במאמר העזרה בנושא ניהול הזהויות והרשאות הגישה (IAM) ל-Certificate Authority Service מוסבר איך מתבצעת הבדיקה של ההרשאות לכל method ואילו הרשאות נבדקות.
google.cloud.security.privateca.v1.CertificateAuthorityService
יומני הביקורת הבאים משויכים ל-methods ששייכות ל-google.cloud.security.privateca.v1.CertificateAuthorityService.
ActivateCertificateAuthority
- Method:
google.cloud.security.privateca.v1.CertificateAuthorityService.ActivateCertificateAuthority - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
privateca.certificateAuthorities.update - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.security.privateca.v1.CertificateAuthorityService.ActivateCertificateAuthority"
CreateCaPool
- Method:
google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCaPool - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
privateca.caPools.create - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCaPool"
CreateCertificate
- Method:
google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificate - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
privateca.certificates.create - DATA_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificate"
CreateCertificateAuthority
- Method:
google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificateAuthority - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
privateca.certificateAuthorities.create - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificateAuthority"
CreateCertificateTemplate
- Method:
google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificateTemplate - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
privateca.certificateTemplates.create - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificateTemplate"
DeleteCaPool
- Method:
google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCaPool - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
privateca.caPools.delete - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCaPool"
DeleteCertificateAuthority
- Method:
google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCertificateAuthority - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
privateca.certificateAuthorities.delete - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCertificateAuthority"
DeleteCertificateTemplate
- Method:
google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCertificateTemplate - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
privateca.certificateTemplates.delete - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCertificateTemplate"
DisableCertificateAuthority
- Method:
google.cloud.security.privateca.v1.CertificateAuthorityService.DisableCertificateAuthority - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
privateca.certificateAuthorities.update - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.security.privateca.v1.CertificateAuthorityService.DisableCertificateAuthority"
EnableCertificateAuthority
- Method:
google.cloud.security.privateca.v1.CertificateAuthorityService.EnableCertificateAuthority - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
privateca.certificateAuthorities.update - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.security.privateca.v1.CertificateAuthorityService.EnableCertificateAuthority"
FetchCaCerts
- Method:
google.cloud.security.privateca.v1.CertificateAuthorityService.FetchCaCerts - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
privateca.caPools.get - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.security.privateca.v1.CertificateAuthorityService.FetchCaCerts"
FetchCertificateAuthorityCsr
- Method:
google.cloud.security.privateca.v1.CertificateAuthorityService.FetchCertificateAuthorityCsr - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
privateca.certificateAuthorities.get - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.security.privateca.v1.CertificateAuthorityService.FetchCertificateAuthorityCsr"
GetCaPool
- Method:
google.cloud.security.privateca.v1.CertificateAuthorityService.GetCaPool - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
privateca.caPools.get - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.security.privateca.v1.CertificateAuthorityService.GetCaPool"
GetCertificate
- Method:
google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificate - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
privateca.certificates.get - DATA_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificate"
GetCertificateAuthority
- Method:
google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateAuthority - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
privateca.certificateAuthorities.get - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateAuthority"
GetCertificateRevocationList
- Method:
google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateRevocationList - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
privateca.certificateRevocationLists.get - DATA_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateRevocationList"
GetCertificateTemplate
- Method:
google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateTemplate - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
privateca.certificateTemplates.get - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateTemplate"
ListCaPools
- Method:
google.cloud.security.privateca.v1.CertificateAuthorityService.ListCaPools - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
privateca.caPools.list - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.security.privateca.v1.CertificateAuthorityService.ListCaPools"
ListCertificateAuthorities
- Method:
google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateAuthorities - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
privateca.certificateAuthorities.list - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateAuthorities"
ListCertificateRevocationLists
- Method:
google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateRevocationLists - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
privateca.certificateRevocationLists.list - DATA_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateRevocationLists"
ListCertificateTemplates
- Method:
google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateTemplates - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
privateca.certificateTemplates.list - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateTemplates"
ListCertificates
- Method:
google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificates - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
privateca.certificates.list - DATA_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificates"
RevokeCertificate
- Method:
google.cloud.security.privateca.v1.CertificateAuthorityService.RevokeCertificate - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
privateca.certificates.update - DATA_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.security.privateca.v1.CertificateAuthorityService.RevokeCertificate"
UndeleteCertificateAuthority
- Method:
google.cloud.security.privateca.v1.CertificateAuthorityService.UndeleteCertificateAuthority - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
privateca.certificateAuthorities.update - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.security.privateca.v1.CertificateAuthorityService.UndeleteCertificateAuthority"
UpdateCaPool
- Method:
google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCaPool - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
privateca.caPools.update - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCaPool"
UpdateCertificate
- Method:
google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificate - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
privateca.certificates.update - DATA_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificate"
UpdateCertificateAuthority
- Method:
google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateAuthority - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
privateca.certificateAuthorities.update - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateAuthority"
UpdateCertificateRevocationList
- Method:
google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateRevocationList - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
privateca.certificateRevocationLists.update - DATA_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateRevocationList"
UpdateCertificateTemplate
- Method:
google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateTemplate - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
privateca.certificateTemplates.update - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateTemplate"
google.iam.v1.IAMPolicy
יומני הביקורת הבאים משויכים ל-methods ששייכות ל-google.iam.v1.IAMPolicy.
GetIamPolicy
- Method:
GetIamPolicy - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
privateca.caPools.getIamPolicy - ADMIN_READprivateca.certificateRevocationLists.getIamPolicy - ADMIN_READprivateca.certificateTemplates.getIamPolicy - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="GetIamPolicy"
SetIamPolicy
- Method:
SetIamPolicy - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
privateca.caPools.setIamPolicy - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="SetIamPolicy"
google.longrunning.Operations
יומני הביקורת הבאים משויכים ל-methods ששייכות ל-google.longrunning.Operations.
CancelOperation
- Method:
google.longrunning.Operations.CancelOperation - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
privateca.operations.cancel - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.longrunning.Operations.CancelOperation"
DeleteOperation
- Method:
google.longrunning.Operations.DeleteOperation - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
privateca.operations.delete - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.longrunning.Operations.DeleteOperation"
GetOperation
- Method:
google.longrunning.Operations.GetOperation - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
privateca.operations.get - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.longrunning.Operations.GetOperation"
ListOperations
- Method:
google.longrunning.Operations.ListOperations - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
privateca.operations.list - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.longrunning.Operations.ListOperations"
אילו methods לא יוצרות יומני ביקורת
יכולות להיות כמה סיבות שב-method מסוימת לא נוצרים יומני ביקורת:
- מדובר ב-method שיש בה נפח גבוה של יומנים, שיצירה שלהם עלולה לגרור עלויות גבוהות של אחסון ויצירה.
- הערך של הביקורת נמוך.
- כבר יש יומן ביקורת או יומן פלטפורמה אחרים שמכסים את ה-method.
ה-methods הבאות לא יוצרות יומני ביקורת:
google.cloud.location.Locations.GetLocationgoogle.cloud.location.Locations.ListLocationsgoogle.longrunning.Operations.WaitOperation