Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ship-shape (TFA checks): jq: error (at <stdin>:30): Cannot index array with string "authenticated" #30

Open
klonos opened this issue Nov 24, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@klonos
Copy link
Contributor

klonos commented Nov 24, 2021

Initially it complains that TFA is not enabled:

$ ahoy ship-shape
Executing /app/vendor/bin/govcms-validate-active-tfa...
GovCMS Validate :: Validate TFA config on active site
[fail]: TFA not enabled
jq: error (at <stdin>:30): Cannot index array with string "authenticated"
Executing /app/vendor/bin/govcms-validate-platform-yml...
GovCMS Validate :: Yaml lint platform files
...

...yet further down the log, it shows that everything is fine:

...
GovCMS Prepare XML report
Successfully generated govcms-validate-prevent-theme-modules.xml

[success]: No modules detected.
Executing /app/vendor/bin/govcms-validate-tfa...
GovCMS Validate :: Validate TFA config
[info]: TFA is enabled
[info]: TFA is required for authenticated users

GovCMS Prepare XML report
Successfully generated govcms-validate-tfa.xml

[success]: TFA is enabled and properly configured
Executing /app/vendor/bin/govcms-validate-active-modules...
GovCMS Validate :: Active modules validation

GovCMS Prepare XML report
Successfully generated govcms-validate-active-permissions.xml
...

Manually checking shows that the tfa module is enabled:

$ ahoy drush en tfa
 [notice] Already enabled: tfa
@klonos klonos added the bug Something isn't working label Nov 24, 2021
@klonos klonos changed the title TFA check with ship-shape: jq: error (at <stdin>:30): Cannot index array with string "authenticated" ship-shape (TFA checks): jq: error (at <stdin>:30): Cannot index array with string "authenticated" Nov 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant