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
Ben Allen
3fadc1cce1
convert NOTICE text to use output function
2017-06-26 10:48:56 -05:00
Ben Allen
029bce9b5b
wrap all notice blocks to be single-line ready
2017-06-26 10:38:35 -05:00
Ben Allen
9bb8f0537a
finish up first pass of conversion to text_ok for passed checks
2017-06-26 10:30:33 -05:00
Ben Allen
408cc78499
begin transition to function-based output - starting with OK responses for check1*
2017-06-26 10:26:56 -05:00
Ben Allen
045e88038f
Clean up ordering; add Mode flag
...
refactor callCheck case statement to move cleanTemp && exit to end
move calls to functions to after all functions are defined
add -M flag to handle mode changing: text, mono, csv
2017-06-22 16:16:44 -05:00
Toni de la Fuente
783fc715fb
Merge pull request #51 from toniblyx/master
...
fixed issue #44
2017-06-15 18:28:02 -04:00
Toni de la Fuente
1d53bb26a6
fixed check 2.8 error with default key
2017-06-15 18:25:09 -04:00
Toni de la Fuente
8c4da8de2a
Merge pull request #4 from Alfresco/master
...
sync with monocrome mode
2017-06-15 08:49:26 -04:00
Toni de la Fuente
1899866225
Merge pull request #50 from MrSecure/monochrome
...
Add Monochrome Mode and other fixes
2017-06-15 08:44:12 -04:00
MrSecure
efbf37faaf
Add switch for basic mode to README.
2017-06-14 22:03:35 -05:00
Ben Allen
b1a67dfd03
change BAD back to red; simpler logic to decide if color code should show
2017-06-14 21:36:53 -05:00
Ben Allen
2141bf165d
more color/mono simplifications
2017-06-14 21:34:41 -05:00
Ben Allen
3bd8a0f8af
simplify some of the color/mono checks now that the escape characters are really gone
2017-06-14 21:29:02 -05:00
Ben Allen
023273fa11
fix check 2.4 to find trails when the home region is not the API region
2017-06-14 21:22:13 -05:00
Ben Allen
5f9eb53c5d
work on basic/monochrome mode - clean up OK, WARNING, and color marking logic
2017-06-14 21:12:59 -05:00
Toni de la Fuente
8d0c728b25
Merge pull request #3 from Alfresco/master
...
getting latest changes from Alfresco/prowler
2017-06-14 20:19:38 -04:00
Toni de la Fuente
bd75f0ff4b
Merge pull request #48 from MrSecure/fix46
...
fixes #46 - checks 1.16, 1.17, 1.18 were missing from the default lis…
2017-06-14 20:14:24 -04:00
Ben Allen
137d5e908a
Revert "work on monochrome - toggle echo -e flag based on monochrome switch"
...
This reverts commit 8ee100a20f .
2017-06-14 19:08:01 -05:00
Ben Allen
8ee100a20f
work on monochrome - toggle echo -e flag based on monochrome switch
2017-06-14 17:21:43 -05:00
Ben Allen
83827d945f
work on adding basic/monochrome mode
2017-06-14 17:15:48 -05:00
Ben Allen
34293e5d2b
work on adding basic/monochrome mode
2017-06-14 17:00:28 -05:00
Ben Allen
ce8725798a
work on adding basic/monochrome mode
2017-06-14 16:58:57 -05:00
Ben Allen
b252ee0f9d
fixes #46 - checks 1.16, 1.17, 1.18 were missing from the default list of checks
2017-06-14 16:46:09 -05:00
Toni de la Fuente
26eeda590a
Merge pull request #47 from MrSecure/master
...
fixes #45 - define TITLE116 variable
2017-06-14 17:46:05 -04:00
Ben Allen
d11a80835f
fixes #46 - checks 1.16, 1.17, 1.18 were missing from the default list of checks
2017-06-14 16:43:48 -05:00
Ben Allen
cea02668ad
fixes #45 - define TITLE116 variable
2017-06-14 16:35:22 -05:00
Toni de la Fuente
5517d39285
Merge pull request #43 from toniblyx/master
...
Update README with new options
2017-06-01 15:38:03 -04:00
Toni de la Fuente
9c6d8b8a7c
Added new options to README
2017-06-01 15:37:02 -04:00
Toni de la Fuente
6212c50674
Merge pull request #2 from Alfresco/master
...
updated from base repo
2017-06-01 15:34:24 -04:00