inspec/libraries
Clinton Wolfe f5251f3c29 Re-work unit tests for user and users (#125)
* Constructor unit tests

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Constructor tests pass, all others gutted

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Basic 'where' test in place, no criteria

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Wired up filter table to backend list users

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Unit testing for has_mfa_enabled and has_console_password

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Simple AWS client implementation for Users

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Rework resource parameters and validation; copy in code from #121

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Add constructor tests

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Add search/recall tests

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Recall unit tests pass

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Failing unit tests for username and has_console_password

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* has_console_password works in unit tests

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* has_mfa_enabled failing unit tests

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* has_mfa_enabled passes unit tests

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Failing unit tests for Access Keys

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* CLean up bad rebase commit

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Access keys property works, as an uncooked AWS response

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* De-linting

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Integration tests work

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Remove provider support libraries

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Integration tests pass for users resource

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* De-lint

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Remove aws connection load from user

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Adapt aws_iam_user to rely on AwsResourceMixin

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2017-12-08 19:34:09 +01:00
..
aws_aaa_shim.rb Rename the resource pack loading shim to a filename that will sort first on all OS's (#133) 2017-12-07 13:35:23 -05:00
aws_cloudwatch_alarm.rb DRY up AWS resource implementation and test backend implementations (#121) 2017-12-04 19:32:13 +01:00
aws_cloudwatch_log_metric_filter.rb DRY up AWS resource implementation and test backend implementations (#121) 2017-12-04 19:32:13 +01:00
aws_ec2_instance.rb Update rubocop 0.44.0 -> 0.51.0 (#127) 2017-12-05 17:55:55 +01:00
aws_iam_access_key.rb Add access_keys method to aws_iam_user (#44) 2017-06-13 07:36:43 +02:00
aws_iam_access_keys.rb Update rubocop 0.44.0 -> 0.51.0 (#127) 2017-12-05 17:55:55 +01:00
aws_iam_password_policy.rb DRY up AWS resource implementation and test backend implementations (#121) 2017-12-04 19:32:13 +01:00
aws_iam_root_user.rb Add has_mfa_enabled? to aws_iam_root_account (#80) 2017-08-16 11:53:44 +02:00
aws_iam_user.rb Re-work unit tests for user and users (#125) 2017-12-08 19:34:09 +01:00
aws_iam_users.rb Re-work unit tests for user and users (#125) 2017-12-08 19:34:09 +01:00
aws_sns_topic.rb DRY up AWS resource implementation and test backend implementations (#121) 2017-12-04 19:32:13 +01:00