במאמר הזה מפורטים ה-methods שנבדקים ב-Certificate Manager.שירותי Google Cloud יוצרים יומני ביקורת שבהם מתועדים אירועי גישה למשאבי Google Cloud והפעולות שהאדמינים עשו בהם. אתם יכולים לקרוא מידע נוסף על יומני הביקורת של Cloud במאמרים האלה:
- הסוגים של יומני הביקורת
- המבנה של רשומות ביומני הביקורת
- שמירה וניתוב של יומני ביקורת
- מחירון מקוצר של Cloud Logging
- הפעלת יומני ביקורת של גישה לנתונים
שם השירות
כדי להציג את יומני הביקורת של Certificate Manager:
נכנסים לדף Logs Explorer במסוף Google Cloud :
מעתיקים את השאילתה הבאה לשדה Query ב-Logs Explorer ולוחצים על Run query.
protoPayload.serviceName="certificatemanager.googleapis.com"
קודי Method לפי סוג ההרשאה
לכל הרשאה ב-IAM יש מאפיין type עם enum שיכול להיות אחד מארבעת הערכים הבאים: ADMIN_READ, ADMIN_WRITE, DATA_READ או DATA_WRITE. כשקוראים ל-method, ב-Certificate Manager נוצר יומן ביקורת שהקטגוריה שלו תלויה במאפיין 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.certificatemanager.v1.CertificateManager.GetCertificategoogle.cloud.certificatemanager.v1.CertificateManager.GetCertificateIssuanceConfiggoogle.cloud.certificatemanager.v1.CertificateManager.GetCertificateMapgoogle.cloud.certificatemanager.v1.CertificateManager.GetCertificateMapEntrygoogle.cloud.certificatemanager.v1.CertificateManager.GetDnsAuthorizationgoogle.cloud.certificatemanager.v1.CertificateManager.GetTrustConfiggoogle.cloud.certificatemanager.v1.CertificateManager.ListCertificateIssuanceConfigsgoogle.cloud.certificatemanager.v1.CertificateManager.ListCertificateMapEntriesgoogle.cloud.certificatemanager.v1.CertificateManager.ListCertificateMapsgoogle.cloud.certificatemanager.v1.CertificateManager.ListCertificatesgoogle.cloud.certificatemanager.v1.CertificateManager.ListDnsAuthorizationsgoogle.cloud.certificatemanager.v1.CertificateManager.ListTrustConfigsgoogle.cloud.certificatemanager.v2alpha.CertificateLifecycle.GetObservedCertificategoogle.cloud.certificatemanager.v2alpha.CertificateLifecycle.ListObservedCertificatesgoogle.longrunning.Operations.GetOperationgoogle.longrunning.Operations.ListOperations |
ADMIN_WRITE |
google.cloud.certificatemanager.v1.CertificateManager.CreateCertificate (LRO)google.cloud.certificatemanager.v1.CertificateManager.CreateCertificateIssuanceConfig (LRO)google.cloud.certificatemanager.v1.CertificateManager.CreateCertificateMap (LRO)google.cloud.certificatemanager.v1.CertificateManager.CreateCertificateMapEntry (LRO)google.cloud.certificatemanager.v1.CertificateManager.CreateDnsAuthorization (LRO)google.cloud.certificatemanager.v1.CertificateManager.CreateTrustConfig (LRO)google.cloud.certificatemanager.v1.CertificateManager.DeleteCertificate (LRO)google.cloud.certificatemanager.v1.CertificateManager.DeleteCertificateIssuanceConfig (LRO)google.cloud.certificatemanager.v1.CertificateManager.DeleteCertificateMap (LRO)google.cloud.certificatemanager.v1.CertificateManager.DeleteCertificateMapEntry (LRO)google.cloud.certificatemanager.v1.CertificateManager.DeleteDnsAuthorization (LRO)google.cloud.certificatemanager.v1.CertificateManager.DeleteTrustConfig (LRO)google.cloud.certificatemanager.v1.CertificateManager.UpdateCertificate (LRO)google.cloud.certificatemanager.v1.CertificateManager.UpdateCertificateIssuanceConfig (LRO)google.cloud.certificatemanager.v1.CertificateManager.UpdateCertificateMap (LRO)google.cloud.certificatemanager.v1.CertificateManager.UpdateCertificateMapEntry (LRO)google.cloud.certificatemanager.v1.CertificateManager.UpdateDnsAuthorization (LRO)google.cloud.certificatemanager.v1.CertificateManager.UpdateTrustConfig (LRO)google.longrunning.Operations.CancelOperationgoogle.longrunning.Operations.DeleteOperation |
יומני ביקורת של ממשק ה-API
במאמר בנושא ניהול הזהויות והרשאות הגישה (IAM) ל-Certificate Manager מוסבר איך מתבצעת הבדיקה של ההרשאות לכל method ואילו הרשאות נבדקות.
google.cloud.certificatemanager.v1.CertificateManager
יומני הביקורת הבאים משויכים ל-methods ששייכות ל-google.cloud.certificatemanager.v1.CertificateManager.
CreateCertificate
- Method:
google.cloud.certificatemanager.v1.CertificateManager.CreateCertificate - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
certificatemanager.certs.create - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.CreateCertificate"
CreateCertificateIssuanceConfig
- Method:
google.cloud.certificatemanager.v1.CertificateManager.CreateCertificateIssuanceConfig - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
certificatemanager.certissuanceconfigs.create - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.CreateCertificateIssuanceConfig"
CreateCertificateMap
- Method:
google.cloud.certificatemanager.v1.CertificateManager.CreateCertificateMap - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
certificatemanager.certmaps.create - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.CreateCertificateMap"
CreateCertificateMapEntry
- Method:
google.cloud.certificatemanager.v1.CertificateManager.CreateCertificateMapEntry - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
certificatemanager.certmapentries.create - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.CreateCertificateMapEntry"
CreateDnsAuthorization
- Method:
google.cloud.certificatemanager.v1.CertificateManager.CreateDnsAuthorization - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
certificatemanager.dnsauthorizations.create - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.CreateDnsAuthorization"
CreateTrustConfig
- Method:
google.cloud.certificatemanager.v1.CertificateManager.CreateTrustConfig - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
certificatemanager.trustconfigs.create - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.CreateTrustConfig"
DeleteCertificate
- Method:
google.cloud.certificatemanager.v1.CertificateManager.DeleteCertificate - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
certificatemanager.certs.delete - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.DeleteCertificate"
DeleteCertificateIssuanceConfig
- Method:
google.cloud.certificatemanager.v1.CertificateManager.DeleteCertificateIssuanceConfig - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
certificatemanager.certissuanceconfigs.delete - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.DeleteCertificateIssuanceConfig"
DeleteCertificateMap
- Method:
google.cloud.certificatemanager.v1.CertificateManager.DeleteCertificateMap - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
certificatemanager.certmaps.delete - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.DeleteCertificateMap"
DeleteCertificateMapEntry
- Method:
google.cloud.certificatemanager.v1.CertificateManager.DeleteCertificateMapEntry - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
certificatemanager.certmapentries.delete - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.DeleteCertificateMapEntry"
DeleteDnsAuthorization
- Method:
google.cloud.certificatemanager.v1.CertificateManager.DeleteDnsAuthorization - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
certificatemanager.dnsauthorizations.delete - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.DeleteDnsAuthorization"
DeleteTrustConfig
- Method:
google.cloud.certificatemanager.v1.CertificateManager.DeleteTrustConfig - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
certificatemanager.trustconfigs.delete - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.DeleteTrustConfig"
GetCertificate
- Method:
google.cloud.certificatemanager.v1.CertificateManager.GetCertificate - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
certificatemanager.certs.get - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.GetCertificate"
GetCertificateIssuanceConfig
- Method:
google.cloud.certificatemanager.v1.CertificateManager.GetCertificateIssuanceConfig - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
certificatemanager.certissuanceconfigs.get - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.GetCertificateIssuanceConfig"
GetCertificateMap
- Method:
google.cloud.certificatemanager.v1.CertificateManager.GetCertificateMap - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
certificatemanager.certmaps.get - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.GetCertificateMap"
GetCertificateMapEntry
- Method:
google.cloud.certificatemanager.v1.CertificateManager.GetCertificateMapEntry - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
certificatemanager.certmapentries.get - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.GetCertificateMapEntry"
GetDnsAuthorization
- Method:
google.cloud.certificatemanager.v1.CertificateManager.GetDnsAuthorization - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
certificatemanager.dnsauthorizations.get - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.GetDnsAuthorization"
GetTrustConfig
- Method:
google.cloud.certificatemanager.v1.CertificateManager.GetTrustConfig - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
certificatemanager.trustconfigs.get - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.GetTrustConfig"
ListCertificateIssuanceConfigs
- Method:
google.cloud.certificatemanager.v1.CertificateManager.ListCertificateIssuanceConfigs - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
certificatemanager.certissuanceconfigs.list - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.ListCertificateIssuanceConfigs"
ListCertificateMapEntries
- Method:
google.cloud.certificatemanager.v1.CertificateManager.ListCertificateMapEntries - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
certificatemanager.certmapentries.list - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.ListCertificateMapEntries"
ListCertificateMaps
- Method:
google.cloud.certificatemanager.v1.CertificateManager.ListCertificateMaps - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
certificatemanager.certmaps.list - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.ListCertificateMaps"
ListCertificates
- Method:
google.cloud.certificatemanager.v1.CertificateManager.ListCertificates - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
certificatemanager.certs.list - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.ListCertificates"
ListDnsAuthorizations
- Method:
google.cloud.certificatemanager.v1.CertificateManager.ListDnsAuthorizations - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
certificatemanager.dnsauthorizations.list - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.ListDnsAuthorizations"
ListTrustConfigs
- Method:
google.cloud.certificatemanager.v1.CertificateManager.ListTrustConfigs - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
certificatemanager.trustconfigs.list - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.ListTrustConfigs"
UpdateCertificate
- Method:
google.cloud.certificatemanager.v1.CertificateManager.UpdateCertificate - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
certificatemanager.certs.update - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.UpdateCertificate"
UpdateCertificateIssuanceConfig
- Method:
google.cloud.certificatemanager.v1.CertificateManager.UpdateCertificateIssuanceConfig - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
certificatemanager.certissuanceconfigs.update - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.UpdateCertificateIssuanceConfig"
UpdateCertificateMap
- Method:
google.cloud.certificatemanager.v1.CertificateManager.UpdateCertificateMap - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
certificatemanager.certmaps.update - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.UpdateCertificateMap"
UpdateCertificateMapEntry
- Method:
google.cloud.certificatemanager.v1.CertificateManager.UpdateCertificateMapEntry - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
certificatemanager.certmapentries.update - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.UpdateCertificateMapEntry"
UpdateDnsAuthorization
- Method:
google.cloud.certificatemanager.v1.CertificateManager.UpdateDnsAuthorization - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
certificatemanager.dnsauthorizations.update - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.UpdateDnsAuthorization"
UpdateTrustConfig
- Method:
google.cloud.certificatemanager.v1.CertificateManager.UpdateTrustConfig - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
certificatemanager.trustconfigs.update - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
פעולה ממושכת
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.UpdateTrustConfig"
google.cloud.certificatemanager.v2alpha.CertificateLifecycle
יומני הביקורת הבאים משויכים ל-methods ששייכות ל-google.cloud.certificatemanager.v2alpha.CertificateLifecycle.
GetObservedCertificate
- Method:
google.cloud.certificatemanager.v2alpha.CertificateLifecycle.GetObservedCertificate - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
certificatemanager.observedcerts.get - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.certificatemanager.v2alpha.CertificateLifecycle.GetObservedCertificate"
ListObservedCertificates
- Method:
google.cloud.certificatemanager.v2alpha.CertificateLifecycle.ListObservedCertificates - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
certificatemanager.observedcerts.list - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.cloud.certificatemanager.v2alpha.CertificateLifecycle.ListObservedCertificates"
google.longrunning.Operations
יומני הביקורת הבאים משויכים ל-methods ששייכות ל-google.longrunning.Operations.
CancelOperation
- Method:
google.longrunning.Operations.CancelOperation - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
certificatemanager.operations.cancel - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.longrunning.Operations.CancelOperation"
DeleteOperation
- Method:
google.longrunning.Operations.DeleteOperation - סוג יומן הביקורת: פעילות אדמין
- הרשאות:
certificatemanager.operations.delete - ADMIN_WRITE
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.longrunning.Operations.DeleteOperation"
GetOperation
- Method:
google.longrunning.Operations.GetOperation - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
certificatemanager.operations.get - ADMIN_READ
- ה-method היא פעולה ממושכת או פעולת סטרימינג:
לא.
- סינון לפי ה-method:
protoPayload.methodName="google.longrunning.Operations.GetOperation"
ListOperations
- Method:
google.longrunning.Operations.ListOperations - סוג יומן הביקורת: גישה לנתונים
- הרשאות:
certificatemanager.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
שאילתות לדוגמה
| תיאור השאילתה | ביטוי |
|---|---|
| יומני ביקורת של Certificate Manager | logName="projects/PROJECT_ID/logs/cloudaudit.googleapis.com%2Factivity" resource.type="certificate_manager_certificate" protoPayload.serviceName="certificatemanager.googleapis.com" |
המאמרים הבאים
- איך פועל Certificate Manager (דור שני)
- תפקידים והרשאות
- מעקב אחרי משאבים באמצעות Cloud Monitoring
- פתרון בעיות