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

Add Pester V5 Database Level Checks #884

Open
25 of 48 tasks
jpomfret opened this issue Apr 26, 2022 · 3 comments
Open
25 of 48 tasks

Add Pester V5 Database Level Checks #884

jpomfret opened this issue Apr 26, 2022 · 3 comments

Comments

@jpomfret
Copy link
Collaborator

jpomfret commented Apr 26, 2022

Database level checks need some Pester V5 love
Each check needs rewritten and added to: \checks\Databasev5.Tests.ps1
We will also need to improve performance by reducing the trips to the instance/database and gathering all information in one hit before discovery, similar to initfields in #882

  • AsymmetricKeySize
  • AutoClose
  • AutoCreateStatistics
  • AutoShrink
  • AutoUpdateStatistics
  • AutoUpdateStatisticsAsynchronously
  • CertificateExpiration
  • CLRAssembliesSafe
  • CompatibilityLevel
  • ContainedDBAutoClose
  • ContainedDBSQLAuth
  • DatabaseCollation
  • DatabaseExists
  • DatabaseGrowthEvent
  • DatabaseMailEnabled
  • DatabaseMailProfile
  • DatabaseStatus
  • DatafileAutoGrowthType
  • DisabledIndex
  • DuplicateIndex
  • FileGroupBalanced
  • FKCKTrusted
  • FutureFileGrowth
  • GuestUserConnect
  • IdentityUsage
  • InvalidDatabaseOwner
  • LastDiffBackup
  • LastFullBackup
  • LastGoodCheckDb
  • LastLogBackup
  • LogfileCount
  • LogfilePercentUsed
  • LogfileSize
  • MaxDopDatabase
  • OrphanedUser
  • PageVerify
  • PseudoSimple
  • QueryStoreDisabled
  • QueryStoreEnabled
  • RecoveryModel
  • SuspectPage
  • SymmetricKeyEncryptionLevel
  • TestLastBackup
  • TestLastBackupVerifyOnly
  • Trustworthy
  • UnusedIndex
  • ValidDatabaseOwner
  • VirtualLogFile
SQLDBAWithABeard added a commit that referenced this issue Apr 28, 2022
jpomfret added a commit that referenced this issue May 4, 2022
jpomfret added a commit that referenced this issue May 27, 2022
jpomfret added a commit that referenced this issue May 27, 2022
jpomfret added a commit that referenced this issue Jun 1, 2022
jpomfret added a commit that referenced this issue Jun 1, 2022
jpomfret added a commit that referenced this issue Jun 1, 2022
jpomfret added a commit that referenced this issue Jun 5, 2022
jpomfret added a commit that referenced this issue Jun 5, 2022
jpomfret added a commit that referenced this issue Jun 5, 2022
@jpomfret jpomfret self-assigned this Jul 10, 2023
@jpomfret jpomfret mentioned this issue Jul 11, 2023
@jpomfret jpomfret reopened this Aug 19, 2023
@jpomfret
Copy link
Collaborator Author

Reopened this issue as there are still checks to be converted

cc @SQLDBAWithABeard - think it closed automatically because you mentioned it in a PR

@SQLDBAWithABeard
Copy link
Collaborator

Hmm, that's odd. Sorry 😂

@SQLDBAWithABeard
Copy link
Collaborator

Ah, yes.

I put some check fixes and then the issue number so it was doing what it thought was right.

Just Rob speak wasn't aligned!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants