reports-scheduler/src/main/resources/report-definitions-mapping.yml [1:22]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
---
##
 # Copyright OpenSearch Contributors
 # SPDX-License-Identifier: Apache-2.0
##

# Schema file for the report definitions index
# Since we only search based on "access", sort on lastUpdatedTimeMs & createdTimeMs,
# other fields are not used in mapping to avoid index on those fields.
# Also "dynamic" is set to "false" so that other fields can be added.
dynamic: false
properties:
  lastUpdatedTimeMs:
    type: date
    format: epoch_millis
  createdTimeMs:
    type: date
    format: epoch_millis
  tenant:
    type: keyword
  access: # Array of access details like user,role,backend_role etc
    type: keyword
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



reports-scheduler/src/main/resources/report-instances-mapping.yml [1:22]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
---
##
 # Copyright OpenSearch Contributors
 # SPDX-License-Identifier: Apache-2.0
##

# Schema file for the report instances index
# Since we only search based on "access" & currentState, sort on lastUpdatedTimeMs & createdTimeMs,
# other fields are not used in mapping to avoid index on those fields.
# Also "dynamic" is set to "false" so that other fields can be added.
dynamic: false
properties:
  lastUpdatedTimeMs:
    type: date
    format: epoch_millis
  createdTimeMs:
    type: date
    format: epoch_millis
  tenant:
    type: keyword
  access: # Array of access details like user,role,backend_role etc
    type: keyword
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



