Commit Graph

2958 Commits

Author SHA1 Message Date
Ben Allen
edceb17b71 Merge branch 'fail-early' into all-updates 2017-07-12 10:13:07 -05:00
Ben Allen
a1e3c09fad Merge branch 'fail-early' into all-updates 2017-07-12 10:06:39 -05:00
Ben Allen
118da69eb5 add headings for incremental policy and bootstrap script 2017-07-11 16:34:25 -05:00
Ben Allen
02a4ab665f fix policy document syntax error in README 2017-07-11 16:34:25 -05:00
Ben Allen
c8a2e16a1c add note about saving the key material 2017-07-11 16:34:25 -05:00
Ben Allen
ca012ebf76 fix policy document syntax error 2017-07-11 16:34:25 -05:00
Ben Allen
1cbedb1eb6 add incremental policy file; update readme to show use case 2017-07-11 16:34:25 -05:00
Ben Allen
30c3a8aa76 correct typo in permission name 2017-07-11 16:34:25 -05:00
Ben Allen
68f8e08506 add option (-k) to keep the credential report after execution. 2017-07-11 16:24:42 -05:00
Ben Allen
866fe11610 fix typo in function name 2017-07-11 16:23:50 -05:00
Ben Allen
f787c57636 improve trap handling 2017-07-11 16:04:27 -05:00
Ben Allen
93b815ecf2 gather count of topics per region, even when unable to list subscribers. 2017-07-11 15:58:50 -05:00
Ben Allen
fe99890683 swallow error message for list-subscriptions-by-topic 2017-07-11 15:58:42 -05:00
Ben Allen
9ef23aecca handle permission failure on list-subscriptions-by-topic gracefully 2017-07-11 15:58:34 -05:00
Ben Allen
043fa32aef exit script if there are problems with the credentials. 2017-07-11 15:58:21 -05:00
Ben Allen
5bdd5d8e54 add account number to CSV output. 2017-07-11 15:57:33 -05:00
Ben Allen
df47f94cf9 change name of temp file so that it's random
Allows multiple instances of prowler to run in parallel (eg. via xargs
-P ).
Also, add trap handler to remove temp file if interrupted.
2017-07-11 15:57:33 -05:00
Ben Allen
7b6f168d8c update output for check 1.22 to handle multiple users 2017-07-11 15:57:16 -05:00
Ben Allen
cf9a73d539 gather count of topics per region, even when unable to list subscribers. 2017-07-11 15:52:21 -05:00
Toni de la Fuente
ae6ebfcafd Merge pull request #59 from toniblyx/master
Updated README with shortlist of features and parallel command
2017-07-11 16:51:59 -04:00
Toni de la Fuente
52f88abd33 Update README.md
Added short list of features and parallel command from @MrSecure
2017-07-11 16:50:55 -04:00
Ben Allen
95a4b56575 swallow error message for list-subscriptions-by-topic 2017-07-11 15:47:06 -05:00
Toni de la Fuente
1625bbcf19 Merge pull request #5 from Alfresco/master
get all new changes
2017-07-11 16:39:25 -04:00
Toni de la Fuente
59c8c8a9c5 Merge pull request #58 from MrSecure/parallelism
Parallelism Tweaks
2017-07-11 16:36:42 -04:00
Ben Allen
5c335b28b2 handle permission failure on list-subscriptions-by-topic gracefully 2017-07-11 15:36:35 -05:00
Toni de la Fuente
96ec896179 Merge pull request #57 from MrSecure/check122-multiple-users
update output for check 1.22 to handle multiple users
2017-07-11 16:33:02 -04:00
Ben Allen
8913ca84d0 exit script if there are problems with the credentials. 2017-07-11 14:59:20 -05:00
Ben Allen
cdbcac5251 add account number to CSV output. 2017-07-07 16:35:32 -05:00
Ben Allen
1e3985d3b4 change name of temp file so that it's random
Allows multiple instances of prowler to run in parallel (eg. via xargs
-P ).
Also, add trap handler to remove temp file if interrupted.
2017-07-07 16:33:42 -05:00
Ben Allen
d1d0f9edf0 update output for check 1.22 to handle multiple users 2017-07-06 14:14:57 -05:00
Toni de la Fuente
62dfd9a17b Merge pull request #55 from MrSecure/spelling
fix spelling error in CSV output
2017-06-27 12:53:06 -04:00
Ben Allen
d0f587fd55 fix spelling error in CSV output 2017-06-27 11:31:04 -05:00
Toni de la Fuente
765be03111 Merge pull request #53 from MrSecure/add-csv-out
Add csv output mode and code clean up
2017-06-27 10:11:18 -04:00
Ben Allen
94efa3028a clean up CSV output for 1.23 when multiple users match 2017-06-27 09:06:29 -05:00
Ben Allen
085ddae3b9 capture script start time using well supported date arguments 2017-06-27 08:52:55 -05:00
Ben Allen
8232a07437 clean up usage of expr 2017-06-26 17:06:17 -05:00
Ben Allen
e9122b3453 move CSV separator character to a variable 2017-06-26 16:50:57 -05:00
Ben Allen
43527302ac remove commas from output text 2017-06-26 16:45:17 -05:00
Ben Allen
85e620345c remove -b flag, since -M covers it 2017-06-26 16:35:56 -05:00
Ben Allen
8cba6df362 add output mode to README 2017-06-26 16:34:02 -05:00
Ben Allen
1eee23e4e1 documentation & formatting updates
* add M switch to help, readme
* remove title_id data from mono / color output lines
2017-06-26 16:21:07 -05:00
Ben Allen
e66bb7f1ab tiny output tweaks 2017-06-26 16:13:16 -05:00
Ben Allen
9a44414a8e more CSV tweaks
* handle multi-region tests cleanly
* clean up report generation info
2017-06-26 16:05:27 -05:00
Ben Allen
2f16ee4e6e add SCORED column to CSV output; handle section tiles properly 2017-06-26 15:40:28 -05:00
Ben Allen
acb889a267 Initial CSV Support
* rename text output functions to follow convention
* send appropriate data to stderr for progress monitoring
* send results to stdout in pipe-delimited format
* skip banner, etc. when running in CSV mode
2017-06-26 15:32:59 -05:00
Ben Allen
6334e19730 pull ID out of title, and pass it to text_title 2017-06-26 14:53:45 -05:00
Ben Allen
57034ab47d move titles from echo to output function 2017-06-26 13:42:00 -05:00
Ben Allen
f3be4f4c38 cleaning up output messages, clean up logic on chec14 2017-06-26 13:24:45 -05:00
Ben Allen
169eb51b0d switch WARNING output to use text_warn function 2017-06-26 13:09:46 -05:00
Ben Allen
a3a23eb8dc move output formatting functions up in file; use them earlier 2017-06-26 10:54:12 -05:00