Do you think IIT Guwahati certified course can help you in your career?
No
Introduction
To record the administrative activities and accesses within the google cloud resources, the google cloud services write audit logs. They help answer "who did what, where, and when?" within the google cloud resources with the same amount of transparency as in an on-premises environment. Audit logs help the user with security, auditing, and compliance entities that monitor google cloud data and systems.In this blog, we will go through the data types of basic-level of audit logs.
AuditLog
The common audit log format that is used for Google Cloud Platform API operations is:
The status type represents a logical error model which is suitable for different programming environments, including REST APIs and RPC APIs. The status message has three parts: error code, error message, and error details.
It uses the google cloud endpoints for handling the requests.
Syntax:
{
"scriptPath": string
}
AuditData
The App engine admin services the audit logs.
Syntax:
{
// Union field method can be only one of the following:
"updateService": {
object(UpdateServiceMethod)
},
"createVersion": {
object(CreateVersionMethod)
}
// End of list of possible types for union field method.
}
UpdateServiceMethod
It gives detailed information about the services.patch call.
Syntax:
{
"request": {
object(UpdateServiceRequest)
}
}
UpdateServiceRequest
It is used to request messages for Services.UpdateService.
A Service resource is defined as a logical component of an application that has the capability of sharing the state and communicating in a secure fashion with the other services. Suppose an application that handles customer requests might also include separate services to handle other tasks like backend data analysis or API requests from mobile devices. Each service contains a collection of versions that define a specific set of code that is to be used to implement the functionality of that service.
It is used to define the traffic routing configuration for versions within a single service. It defines how the traffic directed to the service is assigned to the versions.
It provides the tooling for the serving open API and gRPC endpoints through NGINX proxy. It is only valid for App Engine Flexible environment deployments. Here the fields refer to the name and configuration ID of the "service" resource in the Service Management API.
What does the resource field of the AuthorizationInfo specifies?
The resource field specifies which resource is being accessed.
What does the numResponseItems field of the AuditLog specifies?
The numResponseItems represents the number of items that are returned from a List or Query API method.
What does the expiration field of the StaticFilesHandler specifies?
It is the duration by which the web proxies and browsers should cache the static files.
Conclusion
In this article, we have extensively discussed the basics of Audit logs Datatype in GCP.
After reading about the basics of Audit logs Datatype in GCP, are you not feeling excited to read/explore more articles on Google Cloud? Don't worry; Coding Ninjas has you covered. To learn about GCP certification: Google Cloud Platform, the difference between AWS, Azure & Google Cloud, and which platform is best: AWS vs. Google Cloud.
If you wish to enhance your skills in Data Structures and Algorithms, Competitive Programming, JavaScript, etc., you should check out our Guided path column at Coding Ninjas Studio. We at Coding Ninjas Studio organize many contests in which you can participate. You can also prepare for the contests and test your coding skills by giving the mock test series available. In case you have just started the learning process, and your dream is to crack major tech giants like Amazon, Microsoft, etc., then you should check out the most frequently asked problems and the interview experiences of your seniors that will surely help you in landing a job in your dream company.