Module: SecurityPentestPlanner

Defined in:
lib/security_pentest_planner.rb,
lib/security_pentest_planner/cli.rb,
lib/security_pentest_planner/errors.rb,
lib/security_pentest_planner/planner.rb,
lib/security_pentest_planner/version.rb,
lib/security_pentest_planner/plan_renderer.rb,
lib/security_pentest_planner/openapi_parser.rb,
lib/security_pentest_planner/vector_catalog.rb,
lib/security_pentest_planner/contract_analyzer.rb

Defined Under Namespace

Classes: CLI, ContractAnalyzer, Error, InputError, OpenAPIParser, ParseError, PlanRenderer, Planner, VectorCatalog

Constant Summary collapse

VERSION =
"1.0.2"

Class Method Summary collapse

Class Method Details

.generate(input_path:, **options) ⇒ Object



14
15
16
# File 'lib/security_pentest_planner.rb', line 14

def generate(input_path:, **options)
  Planner.new(input_path: input_path, **options).call
end

.generate_from_spec(spec:, **options) ⇒ Object



18
19
20
# File 'lib/security_pentest_planner.rb', line 18

def generate_from_spec(spec:, **options)
  Planner.new(spec: spec, **options).call
end