Namespace Contensive.BaseModels
Classes
- AppConfigBaseModel
Configuration of an application
- new() - to allow deserialization (so all methods must pass in cp)
- shared getObject( cp, id ) - returns loaded model
- saveObject( cp ) - saves instance properties, returns the record id
- CaseInsensitiveDictionaryBaseModel<S, V>
case insensative dictionary. Use for application lookup
- HttpContextBaseModel
A parameter Object for CPBaseClass constructor. Provides context from a potential server request, like a website request
- ServerConfigBaseModel
configuration of the server (on or more apps in the serer) -- new() - to allow deserialization (so all methods must pass in cp) -- shared getObject( cp, id ) - returns loaded model -- saveObject( cp ) - saves instance properties, returns the record id
- StatusResponseModel
Model for the /status remote method JSON response. Use this to deserialize the JSON returned by the /status endpoint with format=json.
- StatusResponseModel.StatusMetricsModel
Performance metrics included in the status response
- StatusResponseModel.StatusPerformanceModel
Availability/resource-headroom status included in the status response (Site Monitor roadmap Phase 2). Mirrors the WordPress Site-Status plugin's performance checks, adapted to Contensive's data model. See each field's summary for which platform(s) set it.
- StatusResponseModel.StatusReliabilityModel
Backup/reliability status included in the status response (Site Monitor roadmap Phase 3, items 2-4: last successful backup date, backup size, backup-destination awareness). Contensive's database is SQL Server, hosted either as SQL Express directly on the app server (backed up to a local drive by an external scheduled job/script) or as AWS RDS (backed up via RDS's own automated snapshots) -- backupSource reports which one this site is using, and the other fields are populated accordingly. See ReliabilityDiagnosticsController for how each source is actually checked.
- StatusResponseModel.StatusSecurityModel
Security and update-hygiene status included in the status response (Site Monitor roadmap Phase 1). Populated by the WordPress Site-Status plugin and/or the Contensive Status endpoint -- see each field's summary for which platform(s) set it.
- StatusResponseModel.StatusVulnerableItemModel
A single plugin or theme with at least one known vulnerability still applicable to its installed version (Site Monitor roadmap Phase 3, item 9). WordPress only.
- StatusResponseModel.StatusWindowsUpdatesModel
Windows update status included in the status response
Enums
- AppConfigBaseModel.AppModeEnum
status of the app in the appConfigModel. Only applies to the app loaded in the serverstatus.appconfig
- AppConfigBaseModel.AppStatusEnum
status of the app in the appConfigModel. Only applies to the app loaded in the serverstatus.appconfig
- ServerConfigBaseModel.DataSourceTypeEnum
The type of database used by the datasource
- ServerConfigBaseModel.FilenameSanitizationLevelEnum
Security level for filename sanitization