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

[Fleet] Expose permissions as part of the agent policy #94591

Merged
merged 21 commits into from
Mar 30, 2021

Commits on Mar 15, 2021

  1. Add outputPermissions key to FullAgentPolicy

    Alejandro Fernández Gómez committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    8080a8c View commit details
    Browse the repository at this point in the history
  2. Use generic in reduce

    Alejandro Fernández Gómez committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    959f68b View commit details
    Browse the repository at this point in the history
  3. Generate outputPermissions key in /full endpoint

    Alejandro Fernández Gómez committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    c84d513 View commit details
    Browse the repository at this point in the history
  4. Expose outputPermissions in the policy yaml

    Alejandro Fernández Gómez committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    976c07c View commit details
    Browse the repository at this point in the history
  5. Extract permissions type from FullAgentPolicy

    Alejandro Fernández Gómez committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    7168e44 View commit details
    Browse the repository at this point in the history
  6. Use agent policy permissions to generate the API keys

    Alejandro Fernández Gómez committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    bf0a634 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2021

  1. Fix tests

    Alejandro Fernández Gómez committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    889e16f View commit details
    Browse the repository at this point in the history
  2. Fix typo

    Alejandro Fernández Gómez committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    757c385 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2021

  1. Add roles to the output permissions

    For now we will only have a `fallback` role containing the current
    permissions. Eventually the permissions needed for each integration will
    be specified as individual roles.
    Alejandro Fernández Gómez committed Mar 17, 2021
    Configuration menu
    Copy the full SHA
    31381ca View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2021

  1. Fix silly mistake

    Alejandro Fernández Gómez committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    8e5537f View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into 94058-policy-output-permissions

    Alejandro Fernández Gómez committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    dccd319 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2021

  1. Merge branch 'master' into 94058-policy-output-permissions

    Alejandro Fernández Gómez committed Mar 24, 2021
    Configuration menu
    Copy the full SHA
    e34895b View commit details
    Browse the repository at this point in the history
  2. use snake_case

    Alejandro Fernández Gómez committed Mar 24, 2021
    Configuration menu
    Copy the full SHA
    b9180fc View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2021

  1. Wrap permissions array with an index property

    This should help fleet server to process the payload a bit more
    efficiently.
    Alejandro Fernández Gómez committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    7a76452 View commit details
    Browse the repository at this point in the history
  2. Fix types

    Alejandro Fernández Gómez committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    95e8afd View commit details
    Browse the repository at this point in the history
  3. fixup! Wrap permissions array with an index property

    Alejandro Fernández Gómez committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    6a43367 View commit details
    Browse the repository at this point in the history
  4. Rename fallback role to _fallback

    Alejandro Fernández Gómez committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    3831a8a View commit details
    Browse the repository at this point in the history
  5. s/index/indices/g

    Alejandro Fernández Gómez committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    4f52c28 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'master' into 94058-policy-output-permissions

    Alejandro Fernández Gómez committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    73043d2 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2021

  1. Add cluster prop to agent policy

    Alejandro Fernández Gómez committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    9d488d4 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into 94058-policy-output-permissions

    Alejandro Fernández Gómez committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    c0bab6e View commit details
    Browse the repository at this point in the history