2022-10-21 17:16:00 +02:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home ](./index.md ) > [bitburner ](./bitburner.md ) > [NS ](./bitburner.ns.md ) > [getServerBaseSecurityLevel ](./bitburner.ns.getserverbasesecuritylevel.md )
## NS.getServerBaseSecurityLevel() method
2023-02-21 15:44:18 +01:00
Get the base security level of a server.
2022-10-21 17:16:00 +02:00
2023-02-11 19:18:50 +01:00
**Signature:**
2022-10-21 17:16:00 +02:00
```typescript
getServerBaseSecurityLevel(host: string): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| host | string | Host of target server. |
2023-02-11 19:18:50 +01:00
**Returns:**
2022-10-21 17:16:00 +02:00
number
Base security level of the target server.
## Remarks
2023-02-21 15:44:18 +01:00
RAM cost: 0.1 GB Returns the base security level of the target server. For the server's actual security level, use [ns.getServerSecurityLevel ](./bitburner.ns.getserversecuritylevel.md )<!-- --> .
2022-10-21 17:16:00 +02:00