[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [growthAnalyzeSecurity](./bitburner.ns.growthanalyzesecurity.md) ## NS.growthAnalyzeSecurity() method Calculate the security increase for a number of grow threads. **Signature:** ```typescript growthAnalyzeSecurity(threads: number, host?: string, cores?: number): number; ``` ## Parameters
| Parameter | Type | Description |
|---|---|---|
| threads | number | Amount of threads that will be used. |
| host | string | _(Optional)_ Optional. Hostname/IP of the target server. If provided, security increase is limited by the number of threads needed to reach maximum money. |
| cores | number | _(Optional)_ Optional. The number of cores of the server that would run grow. |