17:02:23 #startmeeting openstack security group 17:02:24 Meeting started Thu Aug 28 17:02:23 2014 UTC and is due to finish in 60 minutes. The chair is hyakuhei_. Information about MeetBot at http://wiki.debian.org/MeetBot. 17:02:25 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 17:02:27 The meeting name has been set to 'openstack_security_group' 17:02:31 lol 17:02:33 #topic Open Meeting 17:02:35 aello all 17:02:39 Roll call :) 17:02:43 hi 17:02:46 o/ 17:02:53 \o 17:02:59 \o 17:03:04 hello 17:03:06 o/ 17:03:12 hi all! 17:03:20 welcome all :D - nice turn out today! 17:03:22 rlpple = Randy Perryman @ Dell 17:03:28 Hey rlpple 17:03:42 So I don't have many agenda items for this week, well 2 17:03:47 1. Lots of OSSNs in the queue 17:03:53 Posted to #openstack-security channel that is is going on. 17:04:24 do we have a place to post an agenda? 17:04:27 2. We'll be voting on the next leader of the OSSG soon, have a think about if you'd like this dubious honor ;) 17:04:53 bknudson: we normally just make it hte first part of the conversation, previously we've tried it by email but it seemed better ad-hoc 17:05:06 dubious indeed :P 17:05:14 in keystone we update the wiki meeting page. 17:05:23 yeah, that approach works nicely 17:05:26 We can certainly do that 17:05:42 But as we currently have two things, lets not worry about that right now 17:06:47 where's the OSSN queue? 17:07:01 #link https://bugs.launchpad.net/ossn 17:07:05 here's reviews - https://review.openstack.org/#/q/status:open+project:openstack/security-doc,n,z 17:07:15 and hyakuhei_'s link is the bug queue 17:07:41 we have 3 OSSNs in progress in the review queue 17:07:56 2 of them need updates by the authors in response to review feedback 17:08:37 stan needs to review the feedback from morgan (keystone-core) on this - https://review.openstack.org/114971 17:09:06 and priti has comments from a few of us on this - https://review.openstack.org/#/c/113422/ 17:09:22 Ok, so do we need to chase up the authors? 17:09:26 I haven't seen priti around here, and 0020 seems like it's getting stalled out 17:09:37 It might make sense for someone else to take over it and wrap it up 17:09:52 I can ping her 17:10:01 Yeah, not many changes required. 17:10:11 tmcpeak: thanks, that would be great 17:10:19 shohel has one he drafted as well 17:10:35 https://review.openstack.org/114460 17:11:00 I haven't had time to review it myself yet, but it should be an easy one 17:11:06 Can we get some #action's please? 17:11:10 for the minutes :) 17:11:32 #action tmcpeak to ping priti on OSSN-0020 17:12:00 hyakuhei_: can you ping stan on 0023? 17:12:09 I will 17:12:29 #action tmcpeak to ping stan on OSSN-0023 17:12:39 Does anyone want to review 0024? 17:12:49 do we have a policy on reviews where someone other than the original author can post a new revision? 17:12:53 sure, where is that? 17:12:56 I'll review it in the next few days 17:13:11 tmcpeak: https://review.openstack.org/114971 17:13:20 bknudson: nothing hard and fast 17:13:49 I try not to just grab stuff from people, unless it's something small that would be considered helpful 17:14:18 nkinder: this link is 23 17:14:18 bknudson: if something is obviously stale, I'd say it's free game 17:14:33 tmcpeak: what link are you looking for? 17:14:37 https://review.openstack.org/#/c/114460/ is 24 17:14:38 24 17:14:41 ah, sorry 17:14:45 ok cool 17:14:58 0024 is here - https://review.openstack.org/114460 17:15:00 I'll review this shortly 17:15:06 #action nkinder to review OSSN-0024 17:15:14 this is about tokens in logs 17:15:14 #action tmcpeak to review OSSN-0024 17:15:19 Priti says she can do it next week, is that good enough? 17:15:29 #action bknudson to review OSSN-0024 17:15:29 Symantec has a shut down week next week 17:15:45 bknudson: considering that you fixed that, it makes sense for you to review the OSSN :) 17:15:47 so 24 is the same as 23? 17:16:10 oh, this is keystoneclient 17:16:12 Stan is here 17:16:19 viraptor: update on 23? 17:16:43 will be posted today 17:16:47 cool 17:17:00 bknudson: I think they should be merged 17:17:14 bknudson: I hadn't looked at 0024, but they're largely the same thing 17:17:34 viraptor: take a look at 0024 too, as I think we should just combine it with you work on 0023 17:18:11 0024 mentions that passwords are logged as part of logging requests at DEBUG level 17:18:16 that was fixed recently 17:18:26 0023 is for logging of tokens at INFO level 17:18:41 that may confuse people though - one is fixable, the other isn't 17:18:56 so we can combine these into one uber-note about sensitive data logging, or we can make 0024 only cover the password case 17:19:24 viraptor: yeah, your note is about the token in the v2 URL 17:19:25 I think these are quite different cases 17:19:46 I was thinking of the token logging (not in the URL) that bknudson was working on 17:19:51 so yes, separate then. 17:20:02 bknudson: agreed? 17:20:05 y, I think they're different, too 17:20:18 one is mostly about the v2.0 API 17:20:19 ok, good. 17:20:35 yes, 0023 is restricted to the v2 API having the tokens in the URL 17:20:39 and nkinder: you got part about Priti saying she'll wrap it up next week? 17:20:44 tmcpeak: yep! 17:20:51 ok cool 17:20:54 tmcpeak: that works for me 17:20:59 sounds good 17:21:41 There are many other OSSNs in the queue - https://bugs.launchpad.net/ossn/ 17:21:52 Lots to choose from... Anyone interested? 17:22:14 I'll probably pick one up 17:22:28 #action tmcpeak to pick up an OSSN 17:22:33 #action nkinder to pick up an OSSN 17:22:50 so that leaves 6 more unclaimed if my math is correct 17:22:51 done 17:23:21 #action nkinder to call for OSSN help on the mailing list 17:23:35 ok, I think that's it for OSSNs then. 17:24:02 Nice, thanks nkinder tmcpeak 17:24:03 tmcpeak: did you have anything going on around bandit? 17:24:09 I do! 17:24:18 I've been talking a bit with chair6 17:24:30 and we agree that the following changes would be nice 17:24:41 1) Get each test as a separate plugin 17:24:49 2) Move the config to a JSON format 17:25:16 3) Create the possibility to run from a predefined config which will allow you to select tests 17:25:27 this is so that we can have openstack specific tests, for example 17:25:36 I thought we had #3? 17:25:49 I guess #3 I'm talking about like profiles 17:25:59 so it would be something like bandit -p openstack 17:26:10 or bandit -p generic_python 17:26:31 4) create helper functions so that people who write tests don't need to be aware of the gritty details of AST 17:26:49 For 3, why not just use -t ? 17:27:14 yeah, it's the same thing 17:27:21 oh, does -t already exist? 17:27:25 If we want to commit different config files in the bandit tree, that's fine too (openstack.ini, generic-python.ini) 17:27:38 yes, -t is described in the README 17:27:39 ok perfect, then #3 is a noop 17:27:57 5) eventually allow for tests to be defined without writing python code 17:27:57 for 4, what helpers are you thinking of? 17:28:10 I'll give you an example of a couple I wrote yesterday 17:28:23 @property 17:28:24 def function_name(self): 17:28:47 so I can check context.function_name == "xxx" or "yyy" in context.function_name 17:28:58 rather than having to know about where in the context structure I need to look 17:29:13 that makes sense 17:29:15 def is_module_imported(self, module): 17:29:26 the context is extensible, and we should add things that may be commonly used 17:29:35 yeah totally 17:29:46 chair6 and I just focused on imports and such since that's what our tests used 17:30:01 but let's extend context as we see fit 17:30:04 for sure 17:30:17 We just need to still provide access to the raw node to do fancy AST stuff if required 17:30:39 Yeah, it makes sense to enable people to do 'clever' things as required 17:30:48 for sure 17:31:08 ok, so back to #2 - is there something that we think JSON will help with that ini can't cover? 17:31:26 chair6: brought that point up 17:31:28 seems like yaml is easier to use for a richer config file 17:31:48 the reason we were thinking JSON over yaml is that yaml requires non-default libraries 17:32:01 well, is a rich format needed? 17:32:09 good question 17:32:18 we can definitely discuss that 17:32:21 because moving away from simple ini seems in conflict with #5 (allow tests to be added without code) 17:32:22 I was probably going to take that last 17:32:41 by that I'd be fine with JSON 17:32:49 are we trying to make this easy to add tests for non-devs, or do we want it to be powerful with a higher barrier to entry? 17:33:16 I'd say allow people to write tests without any understanding of AST is my main focus 17:33:23 I wouldn't switch the format unless there is something that ini isn't allowing us to do. Otherwise it's just refactoring for no real reason IMHO 17:33:43 cool, let's chat offline and we can decide 17:33:49 I'm fine with leaving ini 17:34:00 I think chair6 had some reason he wanted to switch but I can't remember what it is 17:34:01 ok, cool. I'm OK with JSON if it has a benefit. 17:34:28 tmcpeak: and a big +1 on avoiding the need to know AST to write tests as much as possible 17:34:46 yeah, personal pet peeve of mine, I don't know what it is but AST gives me bad feelings 17:35:18 that's all I had 17:35:30 but bandit active development is in flight 17:35:36 we should have something even better soon :) 17:36:39 tmcpeak: great, sounds good 17:36:57 bdpayne: did you have anything to discuss about the book? 17:37:11 bdpayne was recruiting for OSSG last night :) 17:37:11 no updates this week 17:37:15 thanks for checking! 17:37:34 yeah, it's been a busy week on some other things 17:37:42 hyakuhei_: any other topics from you? 17:39:05 Nothing from me - though I wont be around for the next meetng as I'm on vacation 17:39:12 hyakuhei_: enjoy! 17:39:15 So if someone else wants to run it, that'd be great 17:39:20 Any topics from anyone else? 17:39:23 I will, I'm not taking any internets with me at all :D 17:39:39 nice 17:40:01 Ok I guess we can wrap early folks :D 17:40:11 cool, later everybody 17:40:19 #endmeeting