22 lines
337 B
Plaintext
22 lines
337 B
Plaintext
![]() |
include::../description.adoc[]
|
||
|
|
||
|
include::../ask-yourself.adoc[]
|
||
|
|
||
|
include::../recommended.adoc[]
|
||
|
|
||
|
== Sensitive Code Example
|
||
|
|
||
|
----
|
||
|
var host : NSHost = NSHost(address: "192.168.12.42")
|
||
|
----
|
||
|
|
||
|
== Compliant Solution
|
||
|
|
||
|
----
|
||
|
var host : NSHost = NSHost(address: configuration.ipAddress)
|
||
|
----
|
||
|
|
||
|
include::../exceptions.adoc[]
|
||
|
|
||
|
include::../see.adoc[]
|