Package antivirus
Antivirus #sleela 2.5 (lib/antivirus/Antivirus.sleela)
Antivirus class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
policy | SLScanPolicy policy | No description in source. |
adapter | SLClamAVAdapter adapter | No description in source. |
engine | SLScannerEngine engine | No description in source. |
localScanner | SLLocalScanner localScanner | No description in source. |
systemScanner | SLSystemScanner systemScanner | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configureClamAVDaemon | void configureClamAVDaemon(String localEndpoint) | No description in source. |
configureClamAVOneShot | void configureClamAVOneShot() | No description in source. |
assemble | void assemble() | No description in source. |
scanLocal | SLScanResult scanLocal(String path) | No description in source. |
authorizeSystemScan | void authorizeSystemScan(boolean authorized) | No description in source. |
scanSystemRoot | SLScanResult scanSystemRoot(String approvedRoot) | No description in source. |
SLClamAVAdapter #sleela 2.5 (lib/antivirus/SLClamAVAdapter.sleela)
SLClamAVAdapter class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
executable | String executable | No description in source. |
mode | String mode | No description in source. |
endpoint | String endpoint | No description in source. |
connected | boolean connected | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configureDaemon | void configureDaemon(String daemonEndpoint) | No description in source. |
configureOneShot | void configureOneShot() | No description in source. |
selectedExecutable | String selectedExecutable() | No description in source. |
selectedMode | String selectedMode() | No description in source. |
state | String state() | No description in source. |
isReady | boolean isReady() | No description in source. |
scanStatus | String scanStatus(String targetPath) | No description in source. |
SLControl #sleela 2.5 (lib/antivirus/SLControl.sleela)
SLControl class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
controllerName | String controllerName | No description in source. |
authorized | boolean authorized | No description in source. |
locked | boolean locked | No description in source. |
securedChanges | int securedChanges | No description in source. |
lastSecuredSubject | String lastSecuredSubject | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String name) | No description in source. |
authorize | void authorize(boolean granted) | Grant or withdraw authorization to secure changes. Fail-closed default. |
lock | void lock() | No description in source. |
unlock | void unlock() | No description in source. |
isAuthorized | boolean isAuthorized() | No description in source. |
secureChange | boolean secureChange(String subject, String reason) | No description in source. |
describe | String describe() | No description in source. |
SLCreator #sleela 2.5 (lib/antivirus/SLCreator.sleela)
SLCreator class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
creatorName | String creatorName | No description in source. |
origin | String origin | No description in source. |
originatedOn | String originatedOn | No description in source. |
attested | boolean attested | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String name, String jurisdiction) | No description in source. |
attest | boolean attest(String onDate) | No description in source. |
isAttested | boolean isAttested() | No description in source. |
describe | String describe() | No description in source. |
SLDebianAntivirusProfile #sleela 2.5 (lib/antivirus/platforms/GNU/Linux/Debian/SLDebianAntivirusProfile.sleela)
SLDebianAntivirusProfile class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
brand | String brand() | No description in source. |
name | String name() | No description in source. |
systemConfigPath | String systemConfigPath() | No description in source. |
userConfigPath | String userConfigPath() | No description in source. |
daemonClient | String daemonClient() | No description in source. |
oneShotClient | String oneShotClient() | No description in source. |
endpointPolicy | String endpointPolicy() | No description in source. |
supportsClamOnAccess | boolean supportsClamOnAccess() | No description in source. |
SLFedoraAntivirusProfile #sleela 2.5 (lib/antivirus/platforms/GNU/Linux/Fedora/SLFedoraAntivirusProfile.sleela)
SLFedoraAntivirusProfile class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
brand | String brand() | No description in source. |
name | String name() | No description in source. |
systemConfigPath | String systemConfigPath() | No description in source. |
userConfigPath | String userConfigPath() | No description in source. |
daemonClient | String daemonClient() | No description in source. |
oneShotClient | String oneShotClient() | No description in source. |
endpointPolicy | String endpointPolicy() | No description in source. |
supportsClamOnAccess | boolean supportsClamOnAccess() | No description in source. |
SLLocalScanner #sleela 2.5 (lib/antivirus/SLLocalScanner.sleela)
SLLocalScanner class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
engine | SLScannerEngine engine | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(SLScannerEngine scannerEngine) | No description in source. |
scanPath | SLScanResult scanPath(String path) | No description in source. |
SLMacOSAntivirusProfile #sleela 2.5 (lib/antivirus/platforms/Apple/macOS/SLMacOSAntivirusProfile.sleela)
SLMacOSAntivirusProfile class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
brand | String brand() | No description in source. |
name | String name() | No description in source. |
systemConfigPath | String systemConfigPath() | No description in source. |
userConfigPath | String userConfigPath() | No description in source. |
daemonClient | String daemonClient() | No description in source. |
oneShotClient | String oneShotClient() | No description in source. |
endpointPolicy | String endpointPolicy() | No description in source. |
supportsClamOnAccess | boolean supportsClamOnAccess() | No description in source. |
SLMaterialClaim #sleela 2.5 (lib/antivirus/SLMaterialClaim.sleela)
SLMaterialClaim class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
subjectName | String subjectName | No description in source. |
concern | String concern | No description in source. |
settled | boolean settled | No description in source. |
sourcePresent | boolean sourcePresent | No description in source. |
stateLabel | String stateLabel | No description in source. |
creator | SLCreator creator | No description in source. |
control | SLControl control | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String name, String materialConcern) | No description in source. |
normalizeConcern | String normalizeConcern(String c) | Only the three dimensions of the material set are valid concerns. |
attributeTo | void attributeTo(SLCreator originatingCreator) | No description in source. |
governWith | void governWith(SLControl changeControl) | No description in source. |
declareMaterial | boolean declareMaterial(String settledState) | No description in source. |
isMaterial | boolean isMaterial() | Is the subject currently a settled, present member of the material set? |
admitChange | boolean admitChange(String reason) | No description in source. |
describe | String describe() | No description in source. |
SLPackage #sleela 2.5 (lib/antivirus/SLPackage.sleela)
SLPackage class
Defines the SLeeLa standard-library package for antivirus.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
packageName | String packageName | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String name) | No description in source. |
name | String name() | No description in source. |
available | boolean available() | No description in source. |
SLQuarantineManager #sleela 2.5 (lib/antivirus/SLQuarantineManager.sleela)
SLQuarantineManager class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
quarantineRoot | String quarantineRoot | No description in source. |
enabled | boolean enabled | No description in source. |
verifyCopy | boolean verifyCopy | No description in source. |
auditEnabled | boolean auditEnabled | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String root) | No description in source. |
enable | void enable() | No description in source. |
disable | void disable() | No description in source. |
isReady | boolean isReady() | No description in source. |
quarantineStatus | String quarantineStatus(String targetPath) | No description in source. |
SLScannerEngine #sleela 2.5 (lib/antivirus/SLScannerEngine.sleela)
SLScannerEngine class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
policy | SLScanPolicy policy | No description in source. |
adapter | SLClamAVAdapter adapter | No description in source. |
engineName | String engineName | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(SLScanPolicy scanPolicy, SLClamAVAdapter scannerAdapter) | No description in source. |
scan | SLScanResult scan(SLScanRequest request) | No description in source. |
SLScanPolicy #sleela 2.5 (lib/antivirus/SLScanPolicy.sleela)
SLScanPolicy class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
allowSystemScope | boolean allowSystemScope | No description in source. |
followSymbolicLinks | boolean followSymbolicLinks | No description in source. |
quarantineEnabled | boolean quarantineEnabled | No description in source. |
failClosedOnEngineError | boolean failClosedOnEngineError | No description in source. |
maxFileSizeBytes | long maxFileSizeBytes | No description in source. |
timeoutSeconds | long timeoutSeconds | No description in source. |
maxDepth | long maxDepth | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configureDefaults | void configureDefaults() | No description in source. |
permits | boolean permits(SLScanRequest request) | No description in source. |
canQuarantine | boolean canQuarantine() | No description in source. |
SLScanRequest #sleela 2.5 (lib/antivirus/SLScanRequest.sleela)
SLScanRequest class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
targetPath | String targetPath | No description in source. |
scope | String scope | No description in source. |
recursive | boolean recursive | No description in source. |
followLinks | boolean followLinks | No description in source. |
maxFileSizeBytes | long maxFileSizeBytes | No description in source. |
timeoutSeconds | long timeoutSeconds | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String path, String requestedScope) | No description in source. |
hasTarget | boolean hasTarget() | No description in source. |
isLocal | boolean isLocal() | No description in source. |
isSystem | boolean isSystem() | No description in source. |
isValid | boolean isValid() | No description in source. |
SLScanResult #sleela 2.5 (lib/antivirus/SLScanResult.sleela)
SLScanResult class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
targetPath | String targetPath | No description in source. |
verdict | String verdict | No description in source. |
engine | String engine | No description in source. |
detail | String detail | No description in source. |
filesScanned | long filesScanned | No description in source. |
filesSkipped | long filesSkipped | No description in source. |
detections | long detections | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String path, String sourceEngine) | No description in source. |
markClean | void markClean(long scanned, long skipped) | No description in source. |
markDetected | void markDetected(long scanned, long skipped, long count) | No description in source. |
markError | void markError(String reason) | No description in source. |
isClean | boolean isClean() | No description in source. |
hasDetection | boolean hasDetection() | No description in source. |
SLSystemScanner #sleela 2.5 (lib/antivirus/SLSystemScanner.sleela)
SLSystemScanner class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
engine | SLScannerEngine engine | No description in source. |
administratorAuthorized | boolean administratorAuthorized | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(SLScannerEngine scannerEngine) | No description in source. |
authorizeAdministrator | void authorizeAdministrator(boolean authorized) | No description in source. |
scanApprovedRoot | SLScanResult scanApprovedRoot(String path) | No description in source. |
SLUbuntuAntivirusProfile #sleela 2.5 (lib/antivirus/platforms/GNU/Linux/Ubuntu/SLUbuntuAntivirusProfile.sleela)
SLUbuntuAntivirusProfile class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
brand | String brand() | No description in source. |
name | String name() | No description in source. |
systemConfigPath | String systemConfigPath() | No description in source. |
userConfigPath | String userConfigPath() | No description in source. |
daemonClient | String daemonClient() | No description in source. |
oneShotClient | String oneShotClient() | No description in source. |
endpointPolicy | String endpointPolicy() | No description in source. |
supportsClamOnAccess | boolean supportsClamOnAccess() | No description in source. |
SLWindowsAntivirusProfile #sleela 2.5 (lib/antivirus/platforms/Microsoft/Windows/SLWindowsAntivirusProfile.sleela)
SLWindowsAntivirusProfile class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
brand | String brand() | No description in source. |
name | String name() | No description in source. |
systemConfigPath | String systemConfigPath() | No description in source. |
userConfigPath | String userConfigPath() | No description in source. |
daemonClient | String daemonClient() | No description in source. |
oneShotClient | String oneShotClient() | No description in source. |
endpointPolicy | String endpointPolicy() | No description in source. |
supportsClamOnAccess | boolean supportsClamOnAccess() | No description in source. |