@mettlecast/eslint-plugin-domain-module 0.2.71 → 0.2.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -70,8 +70,8 @@ const SDK_TARGETS = [
70
70
  {
71
71
  match: 'client-cognito-identity-provider',
72
72
  service: 'Cognito Identity Provider',
73
- ctxMethod: 'ctx.integrations.cognito.* (or an internal admin action)',
74
- reason: 'Cognito control-plane calls belong in a privileged integration or a system-tenancy admin action so the bootstrap secret and IAM scope are auditable.',
73
+ ctxMethod: 'ctx.cognito.{adminCreateUser,adminSetUserPassword,adminGetUser,adminDeleteUser,adminUpdateUserAttributes}',
74
+ reason: 'Cognito control-plane calls belong in ctx.cognito so the user pool ID and IAM scope are managed by the runtime and auditable.',
75
75
  },
76
76
  ];
77
77
  const FALLBACK_TARGET = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mettlecast/eslint-plugin-domain-module",
3
- "version": "0.2.71",
3
+ "version": "0.2.73",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"