nessus: add credentials, increase memory allocation
This commit is contained in:
		
							parent
							
								
									2a0f414dcc
								
							
						
					
					
						commit
						f40d37e6de
					
				
					 1 changed files with 10 additions and 1 deletions
				
			
		| 
						 | 
					@ -30,9 +30,18 @@ job "nessus" {
 | 
				
			||||||
        ports = ["http"]
 | 
					        ports = ["http"]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
 | 
					      template {
 | 
				
			||||||
 | 
					        data        = <<EOF
 | 
				
			||||||
 | 
					USERNAME={{ key "nessus/username" }}
 | 
				
			||||||
 | 
					PASSWORD={{ key "nessus/password" }}
 | 
				
			||||||
 | 
					ACTIVATION_CODE={{ key "nessus/activation_code" }}
 | 
				
			||||||
 | 
					EOF
 | 
				
			||||||
 | 
					        destination = ".env"
 | 
				
			||||||
 | 
					        env         = true
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      resources {
 | 
					      resources {
 | 
				
			||||||
        memory = 1000
 | 
					        memory = 2000
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue