Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(jans-lock-master): provide default configuration for Cedarling #8743

Open
Tracked by #8745
yurem opened this issue Jun 19, 2024 · 0 comments
Open
Tracked by #8745

feat(jans-lock-master): provide default configuration for Cedarling #8743

yurem opened this issue Jun 19, 2024 · 0 comments
Assignees
Labels
kind-feature Issue or PR is a new feature request
Milestone

Comments

@yurem
Copy link
Contributor

yurem commented Jun 19, 2024

Cedarling should request base configuration from /config endpoint. This configuration should be stored in Lock Master dynamic configuration in cedarling_config section.

Currently base configuration should have next attributes:

"cedarling_config" : {
  "audit" : {
    "telemetry_update_ms": 20000,
    "health_update_ms": 30000,
    "log_delay_ms": 10000,
    "log_max_batch_size": 10
  },
  "token_status_list": {
    max_token_list_size: 100000,
  }
}

log_delay_ms specify maximum delay before sending log message. Cedarling should send log message if it not process policy request to avoid delay in UI. Also it can group messages in packets with size specified in log_max_batch_size.

max_token_list_size can be used to reduce size of token_list which Cedarling store in it's own memory. It will be useful for environments with big load.

@yurem yurem changed the title feat(jans-lock-master): provide defaul configuration for Cedarling feat(jans-lock-master): provide default configuration for Cedarling Jun 19, 2024
@mo-auto mo-auto added the kind-feature Issue or PR is a new feature request label Jun 19, 2024
@moabu moabu added this to the 1.1.4 milestone Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind-feature Issue or PR is a new feature request
Projects
None yet
Development

No branches or pull requests

4 participants