https://github.com/shinesolutions/inspec-aem
InSpec profile for checking AEM resources
https://github.com/shinesolutions/inspec-aem
aem aem-opencloud inspec testing
Last synced: about 1 year ago
JSON representation
InSpec profile for checking AEM resources
- Host: GitHub
- URL: https://github.com/shinesolutions/inspec-aem
- Owner: shinesolutions
- License: apache-2.0
- Created: 2018-03-19T05:34:20.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2024-05-07T05:37:00.000Z (about 2 years ago)
- Last Synced: 2025-03-27T12:46:20.863Z (over 1 year ago)
- Topics: aem, aem-opencloud, inspec, testing
- Language: Ruby
- Homepage:
- Size: 56.6 KB
- Stars: 1
- Watchers: 7
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/shinesolutions/inspec-aem/actions?query=workflow%3ACI)
InSpec AEM
----------
An [InSpec](https://www.inspec.io) profile for checking AEM resources.
Usage
-----
Run profile directly from Chef Supermarket:
inspec supermarket exec shinesolutions/aem
Run profile directly from GitHub:
inspec exec https://github.com/shinesolutions/inspec-aem
Run specific control:
inspec supermarket exec shinesolutions/aem "--controls=aem-crxde-disabled aem-saml-enabled"
Run all tests:
make test
Run all tests with custom configuration file:
INSPEC_AEM_CONF=some-aem.yaml make test
Testing
-------
By default, integration tests require an AEM instance up and running on http://localhost:4502 with `admin` username and `admin` password.
AEM instance parameters can be overridden using environment variables `aem_protocol`, `aem_host`, `aem_port`, `aem_username`, `aem_password`, and `aem_debug`.
Integration testing can be executed using the command:
aem_author_port=45652 aem_publish_port=45653 make test-integration