Skip to content

audit trails and fine-grained access control #194

Closed

Description

@Amit-PivotalLabs

I noticed a series of auth stories in your Roadmap, and I was wondering if there was any plan for these two areas.

For audit trails, it would be nice to know whenever someone views a build output, triggers or aborts a build, hijacks a container, pauses or unpauses a pipeline or job; and to know who did the action. This is especially useful when multiple members of a team are interacting with the Concourse, and you want to know why it's in a particular state. Is it safe to, e.g. unpause a particular build? I wonder who paused it in the first place so I can go ask them.

For fine-grained access control, it would be nice to manage permissions on the various actions above. Maybe only certain users should be able to trigger certain builds, for instance. I noticed this story but the details aren't quite fleshed out there.

Do you have any plans to support these kinds of features? If so, would they be near term or long term goals?

Activity

  1. concourse-bot commented on Nov 5, 2015

    @concourse-bot

    Hi there!

    We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.

    The current status is as follows:

    • #107462974 audit trails and fine-grained access control

    This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.

  2. rbuckland commented on Jan 3, 2016

    @rbuckland

    As per question and response on Slack - https://concourseci.slack.com/archives/general/p1451495454006790 it would be also good to track changes of the pipelines loaded in.
    A nice option (configureable) would be to switch off loading pipelines in via file, and rather pull then from a git hash. This way, audit and history is managed "outside" and does not need to be developed.

    ----- December 30th -----
    rbuckland [5:27 PM]
    Can pipeline config be pulled from (eg:) git ?
    or, does concourse.ci have a full audit trail of pipeline changes ? (I can see fly shows a diff when running set-pipeline)
    ----- December 31st -----
    xoebus [4:10 AM]
    @rbuckland: it doesn't keep a history at the moment

  3. mariash commented on Jun 28, 2017

    @mariash
    Contributor

    from #233:

    • If a build is manually triggered, it should say "manually triggered by "
    • If a build was triggered automatically, it should say "automatically triggered by <resource 1>, <resource 2>, ..."

    from #497

    • Show who aborted the build
  4. cnelson commented on Jun 28, 2017

    @cnelson

    Re: pausing / manual triggers -- I know this would be a big change in the UI as it doesn't really take user input beyond clicks right now, but it's be really useful to allow a line of text input when these actions are taken so it could show

    manually triggered by :user: because :reason:

    paused by :user: at :time: because :reason:

    👇

  5. mariash commented on Jun 28, 2017

    @mariash
    Contributor

    @cnelson there is a separate story for reasons: #273. Lets keep this issue focused only on auditability of who did what.

  6. Zteve commented on Jun 29, 2017

    @Zteve

    It's nice to see this is being taken seriously; but I'm a little concerned that "audit trails" don't address the UI side of the story. It's all very well collecting this information, but it should also be visible at crucial places in the user experience. Can you make sure that this is included as part of this issue? (That was the nub of #497.)

    One reason for being explicit is the knotty problem of "who is allowed to know". My own thoughts are that if you can influence the pipeline (i.e. abort/pause/trigger builds) you should be able to see this information, but if you are an external viewer maybe you can't?

  7. added a commit that references this issue on Oct 2, 2017
  8. 4 remaining items

  9. 4everinbeta commented on Aug 8, 2018

    @4everinbeta

    We are running into this as a serious issue when trying to comply with our internal SOX auditing. We need the ability to not only control who can make a a push of a given pipeline, in particular to production, but also the ability to provide an audit trail of who pushed what to where for a given time-period. This is possible in jenkins but I really, really don't want to have to go back to jenkins! :)

  10. StevenArmstrong commented on Sep 2, 2018

    @StevenArmstrong

    Any update on this? We also require audit of who triggered jobs. Can the user who triggered a job be extracted from the logs in any way in 4.0.0? Is there a recommendation?

  11. owwweiha commented on Sep 26, 2018

    @owwweiha

    +1, any news on this?!

  12. jama22 commented on Oct 1, 2018

    @jama22
  13. james-gonzalez commented on Dec 6, 2018

    @james-gonzalez

    Not being able to audit who is triggering what, is not allowing us to use Concourse in a PCI DSS compliant environment

  14. EduardoAC commented on Dec 7, 2018

    @EduardoAC

    I consider this really valuable for our company and probably, because this force us to create separate pipelines to warranty who deploys to production.

    Could you share what is the progress on this issue?

  15. StevenArmstrong commented on Dec 7, 2018

    @StevenArmstrong
  16. kstoner-sbux commented on Mar 22, 2019

    @kstoner-sbux

    +1 - if not the user, then at least the IP Address of the requester. This is a security issue as well as a serious problem for keeping track of who's doing what...

  17. MazterBaker commented on Mar 29, 2019

    @MazterBaker

    +1 to this. I'm a bit surprised this is not already in place...from a security and auditing point of view, knowing who made modifications to a pipeline, and who triggered a build seems like a must for any company doing serious production stuff with Concourse pipelines.

    This info should be displayed by the web UI, and should also be available to the pipeline itself... (e.g to allow a slack notification : "User X started Pipeline Y, build Z").

    Thanks!

  18. pk0024703 commented on Apr 5, 2019

    @pk0024703

    +1 to this. currently the console displays the LDAP Id after login which should be on a Env Variable once the job is been triggered ?

  19. cmpsoares91 commented on Apr 22, 2019

    @cmpsoares91

    Hello,

    +1 for this one. Can someone update this thread with what's currently planned for this RFF for the newcomers?

    This subject is crucial for us to continue using Concourse, or we'll need to migrate soon... :-(

    Best regards,
    Carlos Soares.

  20. AkihiroKitada commented on May 7, 2019

    @AkihiroKitada

    +1 to this one.

    Other than security reasons, it's valuable to have Auditing feature in terms of detecting which team/user consumes worker's resources excessively and so on.

  21. vito commented on May 9, 2019

    @vito
    Contributor

    Simple auditing via logging has been implemented via #3577 which will be in v5.2.

    As we have the first pass of RBAC and now auditing I'm going to close this issue - it's a bit open-ended and, well, has to be closed some time. I think we should build on what we have so far with more concrete proposals which can be done in later issues. 🙂 Thanks all!

  22. EduardoAC commented on May 9, 2019

    @EduardoAC

    @vito thanks you for your great effort, we are looking forward to upgrade into 5, although it will take some time for us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions