github.com/cloudwan/edgelq-sdk@v1.15.4/audit/proto/api-skeleton-v1alpha2.yaml (about)

     1  name: audit.edgelq.com
     2  proto:
     3    package:
     4      name: ntt.audit
     5      currentVersion: v1alpha2
     6      nextVersion: v1
     7      goPackage: github.com/cloudwan/edgelq/audit
     8      protoImportPathPrefix: edgelq/audit/proto
     9    service:
    10      name: Audit
    11      defaultHost: audit.edgelq.com
    12      oauthScopes: https://apis.edgelq.com
    13  
    14  imports:
    15  - iam.edgelq.com
    16  
    17  resources:
    18  - name: AuditedResourceDescriptor
    19    optOuts:
    20      basicActions: ["DeleteAuditedResourceDescriptor"]
    21  
    22  - name: MethodDescriptor
    23    optOuts:
    24      basicActions: ["DeleteMethodDescriptor"]
    25  
    26  - name: ActivityLog
    27    optOuts:
    28      basicActions: ["*"]
    29      resourceChange: true
    30    parents:
    31    - iam.edgelq.com/Project
    32    - iam.edgelq.com/Organization
    33    - ""
    34    actions:
    35    - name: ListActivityLogs
    36      verb: query # dont use 'list' as it would be matched and provided with implementation
    37      grpcTranscoding:
    38        httpMethod: get
    39        isBasic: true
    40      opResourceInfo:
    41        isCollection: true
    42        isPlural: true
    43        skipResourceInRequest: true
    44      withStoreHandle:
    45        readOnly: true
    46        transaction: NONE
    47      multiRegionRouting:
    48        skipCodeGenBasedRouting: true
    49      #pluginParameters:
    50      #  iam:
    51      #    checks:
    52      #    - path: parents
    53      #      permissions: ["audit.activityLogs.list"]
    54    - name: CreateActivityLogs
    55      verb: batchCreate
    56      grpcTranscoding:
    57        httpMethod: post
    58        isBasic: true
    59        httpBodyField: activity_logs
    60      opResourceInfo:
    61        isCollection: true
    62        isPlural: true
    63        skipResourceInRequest: true
    64      responseName: CreateActivityLogsResponse
    65      withStoreHandle:
    66        readOnly: true
    67        transaction: NONE
    68      multiRegionRouting:
    69        skipCodeGenBasedRouting: true
    70  
    71  - name: ResourceChangeLog
    72    optOuts:
    73      basicActions: [ "*" ]
    74      resourceChange: true
    75    parents:
    76    - iam.edgelq.com/Project
    77    - iam.edgelq.com/Organization
    78    - ""
    79    actions:
    80    - name: ListResourceChangeLogs
    81      verb: query # dont use 'list' as it would be matched and provided with implementation
    82      grpcTranscoding:
    83        httpMethod: get
    84        isBasic: true
    85      opResourceInfo:
    86        isCollection: true
    87        isPlural: true
    88        skipResourceInRequest: true
    89      withStoreHandle:
    90        readOnly: true
    91        transaction: NONE
    92      multiRegionRouting:
    93        skipCodeGenBasedRouting: true
    94    - name: CreatePreCommittedResourceChangeLogs
    95      verb: batchCreate
    96      grpcTranscoding:
    97        httpMethod: post
    98        isBasic: true
    99      opResourceInfo:
   100        isCollection: true
   101        isPlural: true
   102        skipResourceInRequest: true
   103      multiRegionRouting:
   104        skipCodeGenBasedRouting: true
   105      responseName: CreatePreCommittedResourceChangeLogsResponse
   106      withStoreHandle:
   107        readOnly: true
   108        transaction: NONE
   109    - name: SetResourceChangeLogsCommitState
   110      verb: batchUpdate
   111      grpcTranscoding:
   112        httpMethod: post
   113        isBasic: true
   114      opResourceInfo:
   115        isCollection: true
   116        isPlural: true
   117        skipResourceInRequest: true
   118      multiRegionRouting:
   119        skipCodeGenBasedRouting: true
   120      responseName: SetResourceChangeLogsCommitStateResponse
   121      withStoreHandle:
   122        readOnly: true
   123        transaction: NONE